/* assets/css/custom.css */
[x-cloak] { display: none !important; }
body { font-family: 'Poppins', 'Hind Siliguri', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; scroll-behavior: smooth; background-color: #F8FAFC; }

/* Premium Style - Clean White Look */
.akij-card { background: white; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 20px rgba(0,0,0,0.03); border-radius: 1rem; transition: all 0.3s ease; }
.akij-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.btn-primary { 
    background: #0045A5; 
    color: white; 
    border-radius: 0.5rem; 
    padding: 0.75rem 2rem; 
    font-weight: 600; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 69, 165, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover { 
    background: #FFD700; 
    color: #0045A5; 
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 215, 0, 0.4), 0 8px 10px -5px rgba(0, 69, 165, 0.2);
}

/* 3D Glow Shine Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}
.btn-primary:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Premium 3D Button */
.btn-premium {
    background: linear-gradient(135deg, #0045A5, #002e6e);
    color: white;
    border-radius: 0.75rem;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 69, 165, 0.4), 0 10px 10px -5px rgba(0, 69, 165, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    background: linear-gradient(135deg, #0056cc, #003a8c);
}

/* Fixed Dashboard Container to prevent layout collapse */
.dashboard-container { 
    display: flex !important; 
    min-height: 100vh !important; 
    background-color: #F8FAFC !important; 
    flex-direction: column !important; 
}
@media (min-width: 1024px) {
    .dashboard-container { flex-direction: row !important; }
}

.dashboard-sidebar { 
    width: 100% !important; 
    min-width: 280px;
    background: white !important; 
    border-bottom: 1px solid #E2E8F0 !important; 
    display: flex !important; 
    flex-direction: column !important; 
    height: auto !important; 
    position: relative !important;
    top: 0 !important;
    z-index: 40 !important; 
}

@media (min-width: 1024px) {
    .dashboard-sidebar { 
        width: 280px !important; 
        border-bottom: none !important; 
        border-right: 1px solid #E2E8F0 !important; 
        height: calc(100vh - 80px) !important; 
        position: sticky !important; 
        top: 80px !important; 
    }
}

.dashboard-content { flex: 1; padding: 1.5rem; overflow-y: auto; }
@media (min-width: 1024px) {
    .dashboard-content { padding: 2rem; }
}

.sidebar-header { padding: 1.5rem; border-bottom: 1px solid #F1F5F9; }
.sidebar-header h1 { font-size: 1.25rem; font-weight: 800; color: #0F172A; }

.sidebar-profile-card { margin: 1.5rem; padding: 1.5rem; background: #F0F7FF; border-radius: 1rem; text-align: center; }
.profile-avatar-wrapper { position: relative; width: 64px; height: 64px; margin: 0 auto 1rem; }
.profile-avatar { width: 100%; height: 100%; border-radius: 50%; background: #E0E7FF; display: flex; align-items: center; justify-content: center; color: #4F46E5; font-size: 1.5rem; font-weight: 700; border: 2px solid white; }
.online-status { position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px; background: #10B981; border: 2px solid white; border-radius: 50%; }
.profile-info h3 { font-size: 0.9375rem; font-weight: 700; color: #1E293B; margin-bottom: 0.25rem; }
.profile-info p { font-size: 0.75rem; color: #64748B; font-weight: 500; }

.sidebar-nav { padding: 0.5rem 1rem; flex: 1; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 0.75rem; color: #475569; font-size: 0.875rem; font-weight: 600; transition: all 0.2s; margin-bottom: 0.25rem; width: 100%; text-align: left; }
.nav-item:hover { background: #F1F5F9; color: #0F172A; }
.nav-item.active { background: #EBF5FF; color: #0061AF; }
.nav-item svg { width: 1.25rem !important; height: 1.25rem !important; opacity: 0.7; flex-shrink: 0; }
.nav-item.active svg { opacity: 1 !important; color: #0061AF !important; }
.nav-item i { width: 1.25rem; text-align: center; font-size: 1.15rem; opacity: 0.7; flex-shrink: 0; display: inline-block; }
.nav-item.active i { opacity: 1; }

.sidebar-footer { padding: 1rem; border-top: 1px solid #F1F5F9; }
.nav-item-logout { color: #DC2626; }
.nav-item-logout:hover { background: #FEF2F2; color: #B91C1C; }
.nav-item-logout svg { color: #DC2626; opacity: 1; }

.content-header { margin-bottom: 2rem; border-bottom: 1px solid #E2E8F0; padding-bottom: 1rem; }
.content-header h2 { font-size: 1.25rem; font-weight: 700; color: #0F172A; }
.content-header p { font-size: 0.875rem; color: #64748B; }

.profile-form-card { background: white; border: 1px solid #E2E8F0; border-radius: 1.25rem; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.form-section-title { font-size: 1rem; font-weight: 700; color: #1E293B; margin-bottom: 1.5rem; }

.upload-image-container { width: 200px; height: 200px; background: #F1F5F9; border-radius: 0.75rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; border: 2px dashed #E2E8F0; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden; }
.upload-image-container:hover { border-color: #0061AF; background: #F0F7FF; }
.upload-image-container p { font-size: 0.8125rem; font-weight: 600; color: #64748B; }

.dashboard-input-group { margin-bottom: 1.25rem; }
.dashboard-label { display: block; font-size: 0.8125rem; font-weight: 700; color: #1E293B; margin-bottom: 0.5rem; }
.dashboard-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid #E2E8F0; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 500; color: #1E293B; transition: all 0.2s; outline: none; background: #F8FAFC; }
.dashboard-input:focus { border-color: #0061AF; box-shadow: 0 0 0 3px rgba(0, 97, 175, 0.1); background: white; }
.dashboard-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.5rem; }

.btn-update-profile { background: #0061AF; color: white; padding: 0.75rem 2rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 700; transition: all 0.2s; box-shadow: 0 4px 6px -1px rgba(0, 97, 175, 0.2); }
.btn-update-profile:hover { background: #004F8F; transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(0, 97, 175, 0.3); }

/* Keep existing styles */
.akij-input-group { position: relative; border: 1px solid #E5E7EB; border-radius: 0.5rem; padding: 0.35rem 0.75rem; transition: all 0.2s; }
.akij-input-group:focus-within { border-color: #0045A5; box-shadow: 0 0 0 2px rgba(0, 69, 165, 0.1); }
.akij-label { font-size: 0.65rem; color: #6B7280; font-weight: 600; margin-bottom: 0.1rem; display: block; text-transform: uppercase; letter-spacing: 0.025em; }
.akij-input { width: 100%; border: none; padding: 0; font-size: 0.875rem; font-weight: 600; color: #111827; background: transparent; outline: none; }
.akij-input::placeholder { color: #9CA3AF; font-weight: 400; }

/* Search Panel Specifics (2026 Premium Update) */
.search-tab-btn { 
    padding: 1.25rem 2.25rem; 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: #64748b; 
    background: transparent;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.search-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #FFD700;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.search-tab-btn.active { 
    color: white;
    background: linear-gradient(135deg, #0045A5 0%, #002e6e 100%);
    box-shadow: 0 10px 25px -5px rgba(0, 69, 165, 0.4);
    transform: translateY(-2px);
}

.search-tab-btn.active::after {
    width: 20px;
    opacity: 1;
    bottom: 6px;
}

.search-tab-btn:hover:not(.active) {
    background: rgba(0, 69, 165, 0.05);
    color: #0045A5;
    transform: translateY(-1px);
}

.search-tab-btn svg {
    transition: all 0.3s ease;
}

.search-tab-btn:hover svg {
    transform: scale(1.15) rotate(-8deg);
}

.search-tab-btn.active svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.premium-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.nav-link { font-size: 0.875rem; font-weight: 500; color: #374151; transition: color 0.2s; }
.nav-link:hover { color: #0045A5; }

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.animate-shake { animation: shake 0.4s ease-in-out; }

@keyframes shimmer {
    100% { transform: translateX(100%); }
}
.animate-shimmer-custom { animation: shimmer 1.5s infinite; }
