* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.login-title,
.tagline-text {
    font-family: 'Rokkitt', serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.screen-height {
    min-height: calc(100vh - 80px);
}

.header {
    background-color: #122344;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-link.active {
    font-weight: 600;
    opacity: 1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -30px; /* Adjust based on header height to place line at bottom */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #c9a227; /* Gold accent */
}

.nav-link:hover {
    opacity: 0.8;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown Overlay */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Menu */
.dropdown-menu {
    position: fixed;
    top: 90px;
    left: 15px;
    right: 15px;
    background-color: #122344;
    z-index: 1000;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.dropdown-menu.active {
    max-height: calc(100vh - 100px);
    opacity: 1;
    overflow-y: auto;
}

.dropdown-nav {
    padding: 10px 0;
}

.dropdown-nav-list {
    list-style: none;
}

.dropdown-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-nav-list li:last-child {
    border-bottom: none;
}

.dropdown-nav-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 15px 25px;
    transition: background-color 0.3s ease;
    text-align: left;
}

.dropdown-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Prevent body scroll when dropdown is open */
body.dropdown-open {
    overflow: hidden;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
}

/* Login Section */
.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f5f7fa;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    color: #122344;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #6c757d;
    font-size: 16px;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: #122344;
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    padding: 14px 16px;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #122344;
    box-shadow: 0 0 0 3px rgba(18, 35, 68, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #122344;
    cursor: pointer;
}

.checkbox-text {
    color: #6c757d;
    font-size: 14px;
}

.forgot-link {
    color: #122344;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #c9a227;
}

.form-error {
    display: none;
    align-items: center;
    gap: 10px;
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 5px;
}

.form-error.show {
    display: flex;
}

.error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #ef4444;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.error-message {
    color: #dc2626;
    font-size: 14px;
}

.login-btn {
    background-color: #122344;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #152a45;
}

.login-btn:active {
    transform: scale(0.98);
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.login-footer p {
    color: #6c757d;
    font-size: 14px;
}

.register-link {
    color: #122344;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #c9a227;
}

/* Footer Styles */
.footer {
    width: 100%;
}

.footer-background {
    position: relative;
    height: 300px;
    background-image: url('https://cdn.prod.website-files.com/692b368d4b7780352528634e/692f01c1e8384de4355d9bf1_New%20York%202025.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 35, 68, 0.2);
}

.footer-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-tagline {
    display: flex;
    gap: 15px;
}

.tagline-accent {
    width: 3px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.tagline-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.tagline-text em {
    font-style: italic;
}

.footer-bottom {
    background-color: #122344;
    padding: 20px 0;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.copyright {
    color: #dde2ed;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-separator {
    color: #ffffff;
    font-size: 14px;
}

.footer-link {
    color: #dde2ed;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .screen-height {
        min-height: calc(100vh - 70px);
    }

    .header-container {
        height: 70px;
    }

    .logo img {
        height: 35px;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        top: 80px;
        left: 10px;
        right: 10px;
    }

    .main-content {
        min-height: calc(100vh - 70px);
    }

    .login-section {
        padding: 30px 15px;
    }

    .login-card {
        padding: 30px 25px;
    }

    .login-title {
        font-size: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-background {
        height: 250px;
    }

    .footer-content {
        justify-content: flex-start;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .copyright {
        font-size: 12px;
    }

    .footer-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 25px 20px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .footer-background {
        height: 200px;
    }
}

/* Dropdown Arrow */
.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transform: translateY(1px);
}

/* Page Section & Table Styles */
.page-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.container-wide {
    max-width: 1600px;
}

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.page-title {
    font-size: 24px;
    color: #000000;
    font-weight: 700;
    margin: 0;
}

.action-link {
    color: #1b80b7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

.action-link:hover {
    text-decoration: underline;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.data-table th {
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #4a4a4a;
    padding: 12px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #ddd;
    vertical-align: bottom;
    background-color: #f9f9f9;
}

.data-table td {
    padding: 12px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.data-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.data-table tbody tr:hover {
    background-color: #f0f4f8;
}

/* Column Specific Alignments */
.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* Empty State */
.empty-state td {
    text-align: center;
    padding: 40px 0;
    font-style: italic;
    color: #666;
    font-weight: 500;
    border-bottom: 1px solid #ddd; /* Match screenshot bottom border */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .action-link {
        align-self: flex-start;
    }
}

/* Breadcrumb Styles */
.breadcrumb-container {
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #adb5bd;
    content: "/";
}

.breadcrumb-item a {
    color: #122344;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #2b9cd9;
    text-decoration: underline;
}


/* Page Banner */
.page-banner {
    background-color: #1f3c77;
    padding: 40px 0;
    width: 100%;
}

.banner-title {
    color: #ffffff;
    font-family: 'Rokkitt', serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.section-title {
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Banner Breadcrumb Overrides */
.page-banner .breadcrumb-container {
    margin-bottom: 10px;
}

.page-banner .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item a {
    color: #ffffff;
}

.page-banner .breadcrumb-item a:hover {
    color: #c9a227; /* Gold accent color */
    text-decoration: underline;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}


/* Header Left/Right Layout */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: #ffffff;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.logout-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
}

.logout-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .user-info {
        display: none; /* Hide user info in header on mobile */
    }
}

/* Submenu Styles */
.nav-item-dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #122344;
    min-width: 200px;
    list-style: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-link {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: background-color 0.2s ease;
}


/* Mobile Submenu Styles */
.dropdown-item-mobile {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.dropdown-header-mobile .dropdown-nav-link {
    flex-grow: 1;
}

.dropdown-toggle {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-toggle.active {
    transform: rotate(45deg);
}

.mobile-submenu {
    list-style: none;
    background-color: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 300px; /* Approximate height for transition */
}

.mobile-submenu-link {
    display: block;
    color: #dde2ed;
    text-decoration: none;
    padding: 12px 25px 12px 40px; /* Indented */
    font-size: 15px;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* Search Portfolio Form Styles */
.section-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
}

.search-form-container {
    max-width: 800px;
}

.form-row {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.form-label-col {
    width: 200px;
    flex-shrink: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.form-input-col {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.form-control {
    width: 100%;
    max-width: 350px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px; /* Slightly rounded as per common web standards, adjust if needed to be square */
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.required {
    color: red;
    margin-left: 3px;
}

.form-hint {
    margin-left: 15px;
    font-size: 13px;
    color: #333;
    font-weight: 700;
}

.btn-primary {
    background-color: #122344;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary:hover {
    background-color: #0d1a33;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-label-col {
        width: 100%;
        margin-bottom: 5px;
    }

    .form-input-col {
        width: 100%;
        flex-wrap: wrap;
    }

    .form-control {
        max-width: 100%;
    }


}

/* Dashboard Styles */
.dashboard-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-col {
    flex: 1;
}

.dashboard-row {
    margin-bottom: 40px;
}

.dashboard-widget {
    background: transparent;
}

.widget-header {
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.widget-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    font-family: 'Open Sans', sans-serif;
}



.widget-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.widget-table th {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #ddd;
    background-color: #f9f9f9;
}

.widget-table td {
    padding: 12px 10px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.widget-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.widget-table tbody tr:hover {
    background-color: #f0f4f8;
}

.widget-table .empty-state td {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: 40px 0;
    background-color: transparent;
}

.widget-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Open Sans', sans-serif;
}

.btn-outline:hover {
    background-color: #333;
    color: #fff;
}


/* Laptop Responsive Adjustments */
@media (max-width: 1280px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-label-col {
        width: 100%;
        margin-bottom: 5px;
    }

    .form-input-col {
        width: 100%;
        flex-wrap: wrap;
    }

    .form-control {
        max-width: 100%;
    }

    .form-hint {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
    }
}

        /* ================================
   Bootstrap-like Alerts (Standalone)
   ================================ */

.alert {
    position: relative;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

/* Close button */
.alert .close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
}

.alert .close:hover {
    opacity: 0.8;
}

/* Alert Variants */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Dismissable */
.alert-dismissable {
    padding-right: 40px;
}

/* Optional fade effect */
.alert.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.alert.fade.in {
    opacity: 1;
}
/* ================================
   Bootstrap-like Modal (Standalone)
   ================================ */

/* Modal container */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Show modal */
.modal.in {
    display: block;
}

/* Dialog */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 50px auto;
    max-width: 600px;
}

/* Modal content */
.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

/* Header */
.modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Close button */
.modal-header .close {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.6;
}

.modal-header .close:hover {
    opacity: 0.9;
}

/* Body */
.modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

/* Fade animation */
.modal.fade {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal.fade.in {
    opacity: 1;
}

/* Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}

/* Size modifiers */
.modal-sm {
    max-width: 400px;
}

.modal-lg {
    max-width: 900px;
}

.copyright a{
            color: #ffffff;
            font-size: 14px;
            text-decoration: none;
        }
        .user-info {
    position: relative;
    font-size: 14px;
}

.user-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1f2937;
    font-weight: 500;
}

.user-toggle:hover {
    color: #2563eb;
}

.user-menu {
    position: absolute;
    right: 0;
    top: 120%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    list-style: none;
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

.user-menu li {
    padding: 0;
}

.user-menu li a {
    display: block;
    padding: 10px 16px;
    color: #111827;
    text-decoration: none;
}

.user-menu li a:hover {
    background-color: #f3f4f6;
}

.user-menu .divider {
    height: 1px;
    margin: 6px 0;
    background: #e5e7eb;
}

.dropdown-arrow {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: -2px;
}



.sortable {
    position: relative;
    padding-right: 20px;
}
.sortable:hover {
    background-color: #f5f5f5;
}
.sort-indicator {
    font-weight: bold;
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.5;
}
.sortable.sorted-asc .sort-indicator,
.sortable.sorted-desc .sort-indicator {
    opacity: 1;
}
.sortable.sorted-asc {
    background-color:rgb(255, 255, 255);
}
.sortable.sorted-desc {
    background-color:rgb(229, 229, 229);
}







.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

/* Override bootstrap grid behavior */
.filter-row > .col-md-4,
.filter-row > .col-sm-6,
.filter-row > .col-xs-12 {
    float: none !important;
    width: 33.3333%;
    box-sizing: border-box;
}

/* Button alignment */
.filter-row input[type="submit"] {
    height: 40px;
    width: 100%;
    margin-top: 0 !important;
}

/* Responsive stacking */
@media (max-width: 768px) {
    .filter-row > .col-md-4,
    .filter-row > .col-sm-6,
    .filter-row > .col-xs-12 {
        width: 100%;
    }
}
.nav-item-dropdown.active::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #c9a227;
}
.row > .col-xs-12 {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Label column */
.row > .col-xs-12 > div:first-child {
    flex: 0 0 180px;
    font-weight: 500;
}

/* Input column */
.row > .col-xs-12 > div:nth-child(2) {
    flex: 0 0 260px;
}

/* Help / format text */
.row > .col-xs-12 > div:nth-child(3) {
    flex: 1;
    font-size: 13px;
    color: #666;
}

/* Input height consistency */
.row input,
.row select {
    height: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .row > .col-xs-12 {
        flex-direction: column;
        align-items: stretch;
    }

    .row > .col-xs-12 > div {
        width: 100%;
    }
}
