/* =========================================================================== */
/*         Standard Web Stuff                                                  */
/* =========================================================================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

/* =========================================================================== */
/*         Navigation                                                           */
/* =========================================================================== */
.navbar {
    background-color: #1A2636 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.trinity-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #8dba66 !important;
    letter-spacing: 1px;
    text-transform: none;
}

.navbar-logo img {
    height: 40px;
    width: auto;
    display: block;
    margin-right: 20px;
}

/* =========================================================================== */
/*         Buttons                                                              */
/* =========================================================================== */
.btn-primary {
    background-color: #1A2636 !important;
    border-color: #1A2636 !important;
    color: #8dba66 !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #101A26 !important;
        border-color: #101A26 !important;
        color: #8dba66 !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%);
    }

/* =========================================================================== */
/*         Login Page                                                           */
/* =========================================================================== */
.project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: #8dba66;
    margin-bottom: 10px;
}

.by-text {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.mvt-logo {
    max-width: 60%;
    height: auto;
    margin-top: 10px;
}

.container {
    padding-top: 20px !important;
}

.form-label {
    font-weight: 500;
}

/* =========================================================================== */
/*         Oops Page                                                            */
/* =========================================================================== */
.oops-title {
    font-size: 6rem;
    font-weight: bold;
    color: #8dba66;
}

.error-message {
    font-size: 2rem;
    font-weight: 500;
    color: #1A2636;
}

.error-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================================== */
/*         General UI Styling                                                   */
/* =========================================================================== */
.form-header {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #8dba66;
}

.custom-tab-content {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
}

.custom-tabs .nav-link {
    border-radius: 8px 8px 0 0 !important;
}

.ms-2 {
    margin-left: 10px;
}

.primary-header {
    color: #1A2636 !important;
    font-weight: 600;
    font-size: 1.1rem;
}

/* =========================================================================== */
/*         Secondary Tabs Styling                                               */
/* =========================================================================== */
.secondary-tabs {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}

    .secondary-tabs .nav-link {
        color: #007bff;
        font-weight: 500;
    }

        .secondary-tabs .nav-link.active {
            background-color: #007bff;
            color: white;
        }

.secondary-tab-content {
    margin-top: 10px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
}

/* =========================================================================== */
/*         Table Styling                                                        */
/* =========================================================================== */
.asset-fields-table,
.branch-table {
    font-size: 0.875rem;
    border-collapse: collapse;
    width: 100%;
}

    .asset-fields-table th,
    .branch-table th {
        background-color: #dee2e6;
        font-weight: bold;
        text-align: left;
        padding: 8px;
    }

    .asset-fields-table td,
    .branch-table td {
        padding: 6px;
        text-align: left;
    }

    .asset-fields-table,
    .asset-fields-table th,
    .asset-fields-table td,
    .branch-table,
    .branch-table th,
    .branch-table td {
        border: 1px solid #ddd;
    }

.scrollable-table {
    max-height: 400px;
    overflow-y: auto;
}

.icon-sm {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.table-sm td,
.table-sm th {
    padding: 4px 8px !important;
}

.small {
    font-size: 0.875rem;
}

.table-sm.mb-0,
.table-sm.mb-0 td,
.table-sm.mb-0 th {
    border-bottom: none !important;
}

/* =========================================================================== */
/*         Outer Configuration Table Styling                                   */
/* =========================================================================== */
.config-table {
    font-size: 0.875rem;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #dee2e6;
}

    .config-table th,
    .table-primary-header th {
        background-color: #1A2636 !important;
        color: #8dba66 !important;
        font-weight: bold;
        text-align: left;
        padding: 6px;
    }

    .config-table tbody tr:nth-child(even) {
        background-color: #f8f9fa !important;
    }

    .config-table tbody tr:nth-child(odd) {
        background-color: #ffffff !important;
    }

    .config-table td {
        padding: 4px 6px;
        text-align: left;
        border-bottom: 1px solid #dee2e6 !important;
    }

/* =========================================================================== */
/*         Inner Configuration Table Styling                                   */
/* =========================================================================== */
.config-inner-table {
    font-size: 0.85rem;
    width: 100%;
    border-collapse: collapse;
}

    .config-inner-table td,
    .config-inner-table th,
    .config-inner-table tr {
        border: none !important;
        padding: 4px 6px;
        text-align: left;
    }

    .config-inner-table tbody {
        display: block;
    }

    .config-inner-table tr {
        background-color: transparent !important;
    }

        .config-inner-table tr:nth-child(even),
        .config-inner-table tr:nth-child(odd) {
            background-color: inherit !important;
        }

/* =========================================================================== */
/*         General Compact Enhancements                                        */
/* =========================================================================== */
.icon-sm {
    width: 12px !important;
    height: 12px !important;
    vertical-align: middle;
    margin-left: 4px;
}

.add-link {
    font-size: 0.85rem !important;
    padding: 2px 6px !important;
}

.table-sm td,
.table-sm th {
    padding: 3px 6px !important;
}

.config-item-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    font-weight: 500;
}

    .config-item-link:hover {
        color: #007bff;
    }
