/* Responsive Refinement for Floating Header Design */

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 991px) {
    .floating-header {
        top: 10px;
    }

    .header-inner {
        padding: 0.6rem 1.5rem;
        border-radius: 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .d-none-mobile {
        display: none !important;
    }

    .about-grid,
    .contact-grid,
    .why-us-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .logo img {
        height: 40px;
    }
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 25px;
    }

    .header-inner {
        padding: 1.5rem 1.25rem;
        margin-bottom: 10px;
    }

    .floating-header.scrolled .logo img {
        height: 25px !important;
    }
}

/* Institutional Account & Dashboard Responsiveness */

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        display: block !important;
    }

    .dashboard-sidebar {
        padding: 0 !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 30px !important;
        width: 100% !important;
    }

    .user-info {
        display: none !important;
    }

    .dashboard-nav {
        flex-direction: column !important;
        overflow-x: auto;
        background: #fff;
        padding: 8px !important;
        border-radius: 15px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
        border: 1px solid #f1f5f9;
        scrollbar-width: none;
        gap: 5px !important;
        display: flex !important;
        width: 100% !important;
    }

    .dashboard-nav::-webkit-scrollbar {
        display: none;
    }

    .dashboard-nav a {
        padding: 0.8rem 1.2rem !important;
        border-left: none !important;
        border-radius: 12px !important;
        white-space: nowrap;
        font-size: 0.9rem;
        flex: 0 0 auto;
    }

    .dashboard-nav a.active {
        background: #f8fafc !important;
        color: var(--accent-color) !important;
        box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.1);
    }

    .dashboard-content {
        width: 100% !important;
    }

    .dashboard-card {
        padding: 1.5rem !important;
    }

    .dashboard-card.no-padding {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 2rem 0 !important;
    }

    .content-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .content-header h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .custom-search-box {
        flex-direction: column;
        gap: 10px;
    }

    .custom-search-box input {
        width: 100% !important;
    }

    .custom-search-box button {
        width: 100%;
        justify-content: center;
        padding: 12px !important;
    }

    .dashboard-pagination {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .upload-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .form-divider {
        margin: 2rem 0 1.5rem !important;
        font-size: 1rem !important;
    }

    .account-welcome-card h2 {
        font-size: 1.5rem !important;
    }

}

/* QR Verification Page Styles */

.verification-card.success .auth-icon i {
    color: #10b981;
}

.verification-card.error .auth-icon i {
    color: #ef4444;
}

.verification-content {
    margin-top: 20px;
    text-align: left;
}

.verification-user {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 25px;
}

.v-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.v-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-avatar i {
    font-size: 30px;
    color: #94a3b8;
}

.v-info h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.v-info span {
    font-size: 0.9rem;
    color: #64748b;
}

.verification-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.v-detail-item label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 700;
}

.v-detail-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
}

.verification-badge {
    text-align: center;
    background: #ecfdf5;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #a7f3d0;
}

.verification-error-msg {
    padding: 40px 0;
    text-align: center;
}

@media (max-width: 576px) {
    .verification-details {
        grid-template-columns: 1fr;
    }

    .verification-user {
        flex-direction: column;
        text-align: center;
    }

    .account-welcome-card h2 {
        font-size: 1.3rem !important;
    }
}