/* === GLOBAL BODY === */
body {
    background: linear-gradient(135deg, #edfff3 0%, #d0e0d5 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #111;
    margin: 0;
    padding: 0;
}

/* === AUTH STYLING === */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-meta {
    z-index: 2; /* Ensure it overlays banner image if needed */
}

/* === DASHBOARD === */
.dashboard-container {
    background: #fefefe;
    min-height: 100vh;
}

/* === HEADER & NAVBAR === */
header.navbar {
    background: #fff !important;
    color: #111;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

/*
.header-bar {
    background-color: #111;
    color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
*/

.header-bar {
    background-color: #fff;
    color: #111;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e0e0;
    height: 120px; /* Adjust as needed */
    background-image: url('/assets/images/right_header.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    border-bottom: 1px solid #e0e0e0;
}

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

.header-left .logo-img {
    height: 120px; /* Adjust as needed */
    object-fit: contain;
}

.header-center {
    flex-grow: 1;
    text-align: center;
}

.header-center .site-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
    color: #ffffff;
}

.header-right .header-banner-img {
    height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.navbar-brand {
    font-weight: bold;
    color: #6200ff !important;
}

/* === MENU === */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.menu ul li {
    margin-right: 2rem;
    position: relative;
}

.menu ul li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #1a1a1a;
    color: #ff6a00;
    border-radius: 0 0 8px 8px;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 10;
}

.menu ul li:hover > ul,
.menu ul li:focus-within > ul {
    display: block;
}

.menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.menu ul li ul a {
    color: #ff6a00;
}

.menu a.active,
.menu a:focus,
.menu a:hover {
    background: #ff6a00 !important;
    color: #fff !important;
}

/* === NOTIFICATION BADGE === */
#notification-badge {
    background: #054101;
    color: #fff;
    font-size: 0.9em;
    border-radius: 50%;
    padding: 0.3em 0.7em;
    margin-left: 0.6em;
    display: inline-block;
    vertical-align: middle;
}

#notification-badge.has-unread {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,106,0,0.3); }
    70% { box-shadow: 0 0 0 10px rgba(255,106,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); }
}

/* === FORMS & BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, #6600ff 0%, #4000a6 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(106, 0, 255, 0.3);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #00ffbb;
    box-shadow: 0 0 0 0.2rem rgba(89, 0, 255, 0.25);
}

.alert {
    border-radius: 10px;
    border: none;
}

/* === MISC COMPONENTS === */
.rounded-circle {
    border-radius: 50% !important;
    object-fit: cover;
}

.qr-container {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #ff6a00 0%, #a64000 100%);
    color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

/* === VERIFICATION STEPS === */
.verification-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.verification-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.verification-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: -1;
}

.verification-step.active::after {
    background: #ff6a00;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.verification-step.active .step-circle {
    background: #ff6a00;
    color: white;
}

.verification-step.completed .step-circle {
    background: #28a745;
    color: white;
}

/* === BUTTON LOADING === */
.loading-spinner {
    display: none;
}

.btn-loading .loading-spinner {
    display: inline-block;
}

.btn-loading .btn-text {
    display: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }
    .menu ul {
        flex-direction: column;
    }
    .menu ul li {
        margin-right: 0;
    }
    .navbar {
        flex-direction: column;
    }
}

.input-group > .form-control,
.input-group > .input-group-text,
.input-group > .btn {
    height: 38px;      /* or whatever value matches your .btn height */
    min-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}