/* =========================================================================== */
/*         Standard Web Stuff                                                  */
/* =========================================================================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* =========================================================================== */
/*         Navigation                                                           */
/* =========================================================================== */
.navbar {
    background-color: #f8f9fb !important;
    border-bottom: 1px solid #dcdcdc !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
}

.trinity-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #acc848 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navbar .nav-link {
    color: #4a4a4a !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        color: #acc848 !important;
    }

.navbar-logo img {
    height: 60px;
    width: auto;
    display: block;
    margin-right: 20px;
}

/* =========================================================================== */
/*         Buttons                                                              */
/* =========================================================================== */
.btn-primary {
    background-color: #1A2636 !important;
    border-color: #1A2636 !important;
    color: #acc848 !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #101A26 !important;
        border-color: #101A26 !important;
        color: #acc848 !important;
    }

button, .btn {
    margin-right: 10px;
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
    display: inline-block;
    text-align: center;
}

    button:hover, .btn:hover {
        filter: brightness(90%);
    }

/* =========================================================================== */
/*         Layout & Forms                                                      */
/* =========================================================================== */
.container {
    padding-top: 20px !important;
}

.form-label {
    font-weight: 500;
}

.form-control-sm {
    max-width: 100%;
}

/* =========================================================================== */
/*         Header Text                                                         */
/* =========================================================================== */
.form-header {
    font-family: 'Poppins', sans-serif;
    font-size: 1.50rem;
    font-weight: 600;
   /* color: #acc848;*/
}

/* =========================================================================== */
/*         Tab Layout                                                          */
/* =========================================================================== */
.tab-wrapper {
    margin-top: 10px;
}

.tab-header {
    border: none;
    margin-bottom: 0;
}

    .tab-header .nav-link {
        color: #1A2636;
        font-weight: 500;
        border: none;
        background: transparent;
        border-radius: 0;
        padding: 8px 15px;
    }

        .tab-header .nav-link.active {
            background-color: #f8f9fb !important;
            font-weight: 600;
            border: none;
        }

.tab-content-wrapper {
    background-color: #f8f9fb !important;
    padding: 20px;
    border-radius: 6px;
    margin-top: -1px;
}

/* Inner tab content (inherits background) */
.tab-pane {
    background-color: transparent !important;
    padding: 0 !important;
}

/* =========================================================================== */
/*         Sub-Tabs as Inline Links                                            */
/* =========================================================================== */
.sub-tabs {
    display: flex;
    gap: 20px;
    padding-left: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

    .sub-tabs .nav-link {
        background: none !important;
        border: none !important;
        color: #1A2636 !important;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 5px 0;
        position: relative;
        border-radius: 0 !important;
        text-decoration: none;
    }

        .sub-tabs .nav-link.active::after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #acc848;
        }

        .sub-tabs .nav-link:hover {
            text-decoration: underline;
        }

        .sub-tabs .nav-link.active {
            font-weight: 600;
        }


.form-check-input-lg {
    transform: scale(1.4);
    margin-top: 4px; /* adjust for vertical alignment */
}


table.data-table {
    font-size: 0.85rem;
    width: 100%;
    border-collapse: collapse;
}

    table.data-table th {
        background-color: #1A2636;
        color: #acc848;
        font-weight: 500;
        text-align: left;
        padding: 8px;
        border-bottom: 1px solid #ccc;
    }

    table.data-table td {
        font-weight: 400;
        padding: 8px;
        vertical-align: middle;
        border-bottom: 1px solid #eee;
    }

    table.data-table tr:hover {
        background-color: #f5f5f5;
    }

th {
    cursor: pointer;
}

    th:hover {
        text-decoration: underline;
    }