html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Contact Responses Page Styling */
.contact-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
}

.contact-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.contact-card.unread {
    border-left: 4px solid #0d6efd;
    background: linear-gradient(135deg, #fff 0%, #f0f6ff 100%);
}

.card-header-custom {
    padding: 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.card-body {
    padding: 1.25rem;
}

.card-body .message-text {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border-left: 3px solid #0d6efd;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}

.card-subtitle {
    font-size: 0.875rem;
}

.card-subtitle i {
    margin-right: 0.5rem;
    color: #6c757d;
}

.card-footer-custom {
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-footer-custom .btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-info:hover,
.btn-outline-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

/* Display 5 title styling */
.display-5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.display-5 .badge {
    font-size: 0.85rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Search input styling */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

/* Text muted styling */
.text-muted {
    opacity: 0.8;
}

.text-uppercase {
    letter-spacing: 0.05rem;
    font-size: 0.75rem !important;
}

/* Empty state styling */
.alert-info {
    background-color: #cfe2ff;
    border-color: #b6d4fe;
    border-radius: 0.5rem;
    color: #084298;
}

.alert-info i {
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-lg-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .contact-card .card-header-custom {
        padding: 1rem;
    }

    .contact-card .card-body {
        padding: 1rem;
    }

    .contact-card .card-footer-custom {
        padding: 0.75rem 1rem;
    }

    .card-footer-custom .btn-group {
        width: 100%;
    }

    .card-footer-custom .btn {
        flex: 1;
        min-width: 0;
    }

    .display-5 {
        font-size: 1.5rem;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ========== AUTHENTICATION LAYOUT STYLES ========== */

/* Auth Container - Full screen centered layout with geometric background */
.auth-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%),
                repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(124, 58, 237, 0.1) 35px, rgba(124, 58, 237, 0.1) 70px),
                repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(124, 58, 237, 0.05) 35px, rgba(124, 58, 237, 0.05) 70px);
    background-attachment: fixed;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Geometric accent overlay for auth container */
.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Auth Card - Hidden */
.auth-card {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Header - Hidden */
.auth-header {
    display: none;
}

.auth-title {
    display: none;
}

.auth-subtitle {
    display: none;
}

/* Auth Body - Hidden */
.auth-body {
    display: none;
}

/* Auth Form Container */
.auth-form-container {
    width: 100%;
}

.auth-form-container h3 {
    color: #212529;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Form Group Styling */
.auth-form-container .form-label {
    font-weight: 500;
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.auth-form-container .form-control-lg {
    height: calc(2.5rem);
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.auth-form-container .form-control-lg:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.auth-form-container .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.3rem;
}

.auth-form-container .form-check-input:checked {
    background-color: #7c3aed;
    border-color: #7c3aed;
}

.auth-form-container .form-check-label {
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

/* Submit Button Styling */
.auth-form-container .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.auth-form-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.auth-form-container .btn-primary:active {
    transform: translateY(0);
}

/* Auth Links */
.auth-links {
    margin-top: 1rem;
}

.auth-link {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #c026d3;
    text-decoration: underline;
}

/* Footer Links */
.auth-footer-links {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.auth-footer-links a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-links a:hover {
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.auth-footer-text {
    margin: 0;
}

/* Validation Messages */
.auth-form-container .text-danger {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.auth-form-container .invalid-feedback {
    display: block;
}

/* Error and Status Messages */
.auth-form-container .alert {
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-form-container .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* HR Styling */
.auth-form-container hr {
    opacity: 0.2;
    margin: 1.5rem 0;
}

/* External Login Section */
.auth-form-container h4 {
    font-size: 0.95rem;
    color: #212529;
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .auth-card {
        max-width: 100%;
        border-radius: 0.75rem;
    }

    .auth-header {
        padding: 1.5rem 1rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-body {
        padding: 1.5rem 1rem;
    }

    .auth-footer {
        padding: 1rem;
    }
}

/* ========== MODERN LOGIN FORM STYLES ========== */

.login-form-wrapper {
    width: 100%;
}

.login-welcome {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0;
    color: white;
}

.login-title-highlight {
    font-weight: 700;
    color: #fbbf24;
}

.form-group-login {
    margin-bottom: 2rem;
}

.login-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.75rem;
    transition: border-color 0.3s ease;
}

.login-input-wrapper:focus-within {
    border-bottom-color: #7c3aed;
}

.login-input-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.login-input-wrapper:focus-within .login-input-icon {
    color: #7c3aed;
}

.login-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 0;
    outline: none;
    font-family: inherit;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-input-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #7c3aed, #c026d3);
    transition: width 0.3s ease;
}

.login-input-wrapper:focus-within .login-input-underline {
    width: 100%;
}

.login-password-help {
    text-align: right;
    margin-top: 0.5rem;
}

.login-forgot-link {
    color: #fbbf24;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.login-forgot-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem 0 1.5rem 0;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.login-footer-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-footer-links p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.login-signup-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.login-signup-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive adjustments for login form */
@media (max-width: 576px) {
    .login-title {
        font-size: 1.8rem;
    }

    .login-welcome {
        margin-bottom: 2rem;
    }

    .form-group-login {
        margin-bottom: 1.5rem;
    }

    .login-button {
        padding: 0.875rem;
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }
}

/* Screenshot-Accurate Login/Register Styling */
.login-centered-form {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    background-attachment: fixed;
    padding: 2rem;
}

.login-form-content {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-welcome-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.login-app-name {
    color: #a78bfa;
    font-weight: 600;
}

.login-input-group {
    margin-bottom: 1.75rem;
}

.login-input-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid #a78bfa;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.login-input-field:focus-within {
    border-bottom-color: #c4b5fd;
}

.login-input-field i {
    color: #a78bfa;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.login-text-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0;
    outline: none;
}

.login-text-input::placeholder {
    color: #9ca3af;
}

.login-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    text-align: left;
    margin-top: 0.25rem;
}

.login-forgot-password {
    display: block;
    text-align: right;
    color: #a78bfa;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.login-forgot-password:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.login-sign-in-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: #a78bfa;
    color: #1a1a2e;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.login-sign-in-btn:hover {
    background-color: #c4b5fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(167, 139, 250, 0.3);
}

.login-sign-in-btn:active {
    transform: translateY(0);
}

.login-create-account {
    margin-top: 1.5rem;
    text-align: center;
}

.login-create-link {
    color: #a78bfa;
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.login-create-link:hover {
    color: #c4b5fd;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .login-centered-form {
        padding: 1rem;
    }

    .login-welcome-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .login-form-content {
        max-width: 100%;
    }
}

/* ========== MAIN LAYOUT & NAVIGATION STYLES ========== */

.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e3e6f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    overflow: visible;
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    padding: 2rem;
}

.app-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Navbar Styling */
.navbar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 60px;
    padding: 0 1.5rem;
    background: #ffffff;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Brand Logo */
.navbar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.2s ease;
    padding: 0;
}

.brand-logo:hover {
    color: #1e40af;
}

.brand-icon {
    font-size: 1.5rem;
}

.brand-text {
    letter-spacing: -0.5px;
}

/* Center Navigation */
.navbar-nav-center {
    display: flex;
    gap: 0;
    flex: 1;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin: 0;
    height: 100%;
}

.nav-link:hover {
    color: #1e3a8a;
    background-color: #f3f4f6;
}

.nav-link.active {
    color: #7c3aed;
    background-color: #eff6ff;
    border-bottom: 3px solid #7c3aed;
    padding: 0 1rem;
}

.nav-link i {
    font-size: 1.1rem;
}

/* Right Menu */
.navbar-menu-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
    margin: 0;
    padding: 0;
}

/* User Profile Button */
.nav-user-menu {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.btn-user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: none;
    border: 1px solid #e3e6f0;
    border-radius: 6px;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: fit-content;
    margin: 0;
}

.btn-user-profile:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.btn-user-profile i {
    font-size: 1.25rem;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: none;
}

@media (min-width: 768px) {
    .user-name {
        display: inline;
    }
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    margin: 0;
    box-sizing: border-box;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #1e3a8a;
}

.dropdown-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

.dropdown-form {
    width: 100%;
    display: contents;
    margin: 0;
    padding: 0;
}

.dropdown-divider {
    height: 1px;
    background-color: #e3e6f0;
    margin: 0;
    padding: 0;
}

/* Auth Links */
.nav-auth-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-link-nav {
    padding: 0.5rem 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-link-nav:hover {
    color: #1e3a8a;
}

.btn-link-outline {
    padding: 0.5rem 1rem;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    border-radius: 6px;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-link-outline:hover {
    background-color: #eff6ff;
    color: #1e40af;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-main {
        margin-top: 60px;
        padding: 1rem;
    }

    .app-content {
        max-width: 100%;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }

    .navbar-nav-center {
        margin-left: 0;
        order: 3;
        width: 100%;
    }

    .nav-item {
        flex: 1;
    }

    .navbar-menu-right {
        order: 2;
        margin-left: auto;
        gap: 0.5rem;
    }

    .brand-text {
        display: none;
    }

    .nav-link span {
        display: none;
    }

    .nav-link {
        justify-content: center;
    }
}



/* Ticket details: fixed-width right rail, timeline fills remaining space */
@media (min-width: 1200px) {
    .ticket-side-col {
        width: 380px;
        flex: 0 0 380px;
    }
}
