        :root { --primary: #EF4444; --secondary: #22C55E; --dark: #111827; --gray: #6B7280; --light: #F3F4F6; --white: #ffffff; --sidebar-width: 260px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Poppins', sans-serif; background-color: #F9FAFB; color: var(--dark); display: flex; }
        
        /* Reused Sidebar Styles */
        .sidebar { width: var(--sidebar-width); height: 100vh; background: var(--white); position: fixed; top: 0; left: 0; border-right: 1px solid #E5E7EB; display: flex; flex-direction: column; padding: 2rem 1.5rem; transition: all 0.3s ease; z-index: 100; }
        .brand { font-size: 24px; font-weight: 700; margin-bottom: 3rem; display: flex; align-items: center; gap: 10px; cursor: pointer; }
        .nav-items { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
        .nav-item { padding: 12px 15px; border-radius: 12px; color: var(--gray); font-weight: 500; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 12px; }
        .nav-item:hover { background: #FEF2F2; color: var(--primary); }
        .user-mini-profile { border-top: 1px solid #E5E7EB; padding-top: 1.5rem; display: flex; align-items: center; gap: 12px; cursor: pointer; }
        .mini-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
        
        /* Main Content */
        .main-content { margin-left: var(--sidebar-width); width: calc(100% - var(--sidebar-width)); padding: 2rem 3rem; min-height: 100vh; }
        
        /* Profile Specific Styles */
        .profile-header { background: white; border-radius: 16px; padding: 2rem; display: flex; align-items: center; gap: 2rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #E5E7EB; margin-bottom: 2rem; position: relative; }
        .profile-img-container { position: relative; width: 120px; height: 120px; }
        .profile-big-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--secondary); }
        .camera-btn { position: absolute; bottom: 0; right: 0; background: var(--dark); color: white; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; border: 2px solid white; }
        .camera-btn:hover { background: var(--primary); }
        
        .profile-nav { display: flex; gap: 30px; border-bottom: 2px solid #E5E7EB; margin-bottom: 2rem; }
        .p-nav-item { padding: 10px 5px; cursor: pointer; font-weight: 500; color: var(--gray); position: relative; bottom: -2px; border-bottom: 3px solid transparent; transition: 0.3s; }
        .p-nav-item.active { color: var(--primary); border-bottom: 3px solid var(--primary); }
        
        .form-section { background: white; padding: 2rem; border-radius: 16px; border: 1px solid #E5E7EB; animation: fadeIn 0.5s; display: none; }
        .form-section.active { display: block; }
        
        .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: #374151; }
        .form-input { width: 100%; padding: 12px; border: 1px solid #E5E7EB; border-radius: 10px; outline: none; font-family: 'Poppins', sans-serif; transition: 0.3s; }
        .form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); }
        
        .section-divider { grid-column: 1 / -1; margin: 1.5rem 0 1rem 0; padding-bottom: 10px; border-bottom: 1px solid #E5E7EB; font-weight: 600; color: var(--primary); font-size: 1.1rem; }
        
        .btn-save { background: var(--dark); color: white; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 2rem; transition: 0.3s; }
        .btn-save:hover { background: var(--primary); transform: translateY(-2px); }

        #toast-box { position: fixed; bottom: 30px; right: 30px; background: var(--dark); color: white; padding: 15px 25px; border-radius: 12px; z-index: 9999; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; pointer-events: none; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); display: flex; align-items: center; gap: 10px; }
        #toast-box.show { opacity: 1; transform: translateY(0); }

        
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* Time Picker Styles */
.day-circle { 
    width: 40px; height: 40px; border-radius: 50%; 
    border: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: center; 
    cursor: pointer; transition: 0.2s; font-weight: 500; color: var(--gray); background: white; user-select: none;
}
.day-circle.selected { 
    background: #EFF6FF; color: #2563EB; border-color: #2563EB; font-weight: 700; 
}
.day-circle:hover { background: #F9FAFB; }
/* Mobile tweak for small screens */
@media (max-width: 400px) { .day-circle { width: 35px; height: 35px; font-size: 0.8rem; } }

/* New Time Builder Styles */
        .time-builder-area { background: #F9FAFB; padding: 15px; border-radius: 12px; border: 1px solid #E5E7EB; }
        .time-select-group { display: flex; gap: 5px; align-items: center; }
        .time-select { padding: 8px 2px; border: 1px solid #E5E7EB; border-radius: 6px; background: white; outline: none; text-align: center; cursor: pointer; font-family: 'Poppins', sans-serif;}
        .schedule-tag { background: white; padding: 10px 15px; border-radius: 8px; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; border: 1px solid #E5E7EB; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
        .btn-add-time { background: var(--dark); color: white; border: none; padding: 0 20px; height: 38px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: 0.2s; }
        .btn-add-time:hover { background: var(--primary); }
        .day-circle { width: 35px; height: 35px; border-radius: 50%; border: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; font-weight: 500; color: var(--gray); background: white; user-select: none; font-size: 0.8rem; }
        .day-circle.selected { background: #EFF6FF; color: #2563EB; border-color: #2563EB; font-weight: 700; }
        
        /* Mobile adjustment for time inputs */
        @media (max-width: 500px) {
            .time-controls-row { flex-direction: column; align-items: flex-start; gap: 15px; }
            .btn-add-time { width: 100%; margin-top: 5px; }
        }


        
/* Add these to your existing profile.css */

.form-input, .btn-save, .day-circle, .schedule-tag {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.schedule-tag {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Enhanced Hover Effects */
.btn-save:active {
    transform: scale(0.95);
}

.day-circle:active {
    transform: scale(0.9);
}


/* Edit Button Styling */
.btn-edit {
    background: white;
    color: var(--dark);
    border: 1px solid #E5E7EB;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-edit:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #FEF2F2;
}

/* Visual cue for Disabled Inputs */
.form-input:disabled {
    background-color: #F9FAFB; /* Light gray */
    color: #6B7280; /* Gray text */
    cursor: default;
    border-color: transparent; /* Makes it look less like a box */
}


/* Profile Logout Button */
.btn-logout-profile {
    background: #FEF2F2;
    color: var(--primary);
    border: 2px solid #FEE2E2;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-logout-profile:hover {
    background: #FEE2E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.1);
}

.btn-logout-profile:active {
    transform: scale(0.95);
}


/* --- Angel Protocol Styles --- */
.angel-grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.angel-list-card { background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 12px; padding: 20px; }
.angel-items-container { display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow-y: auto; }

.angel-item { background: white; padding: 15px; border-radius: 10px; border: 1px solid #E5E7EB; display: flex; flex-direction: column; gap: 10px; transition: 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.angel-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.angel-item-header { display: flex; justify-content: space-between; align-items: center; }
.angel-badge { font-size: 0.7rem; padding: 3px 8px; border-radius: 12px; font-weight: 600; }
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-incoming { background: #E0F2FE; color: #0284C7; }

.angel-action-btns { display: flex; gap: 8px; margin-top: 5px; }
.btn-angel-action { flex: 1; padding: 8px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.8rem; transition: 0.2s; }
.btn-angel-accept { background: var(--secondary); color: white; }
.btn-angel-decline { background: #FEE2E2; color: var(--primary); }


/* --- Angel Sub-Navigation --- */
.angel-sub-nav { display: flex; gap: 15px; border-bottom: 2px solid #E5E7EB; margin-bottom: 20px; overflow-x: auto; white-space: nowrap; padding-bottom: 0; }
.angel-sub-nav::-webkit-scrollbar { display: none; } /* Hides scrollbar on mobile */
.a-nav-item { padding: 10px 15px; cursor: pointer; font-weight: 600; color: var(--gray); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: 0.3s; font-size: 0.9rem; }
.a-nav-item:hover { color: var(--primary); }
.a-nav-item.active { color: var(--primary); border-bottom-color: var(--primary); }
.angel-view { animation: fadeIn 0.4s ease; }
.btn-angel-remove { background: #F3F4F6; color: #4B5563; border: 1px solid #D1D5DB; }
.btn-angel-remove:hover { background: #FEE2E2; color: var(--primary); border-color: #FCA5A5; }


/* --- UNIFIED MOBILE MENU & RESPONSIVE STYLES --- */
.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 1.5rem; color: var(--dark); cursor: pointer; transition: 0.3s; position: absolute; top: 1.5rem; left: 1.5rem; z-index: 10; }
.mobile-menu-btn:hover { color: var(--primary); transform: scale(1.1); }

.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 90; display: none; opacity: 0; transition: opacity 0.3s ease; }
.sidebar-overlay.active { display: block; opacity: 1; }

@media (max-width: 768px) { 
    .mobile-menu-btn { display: block; }
    
    /* Sidebar Animations */
    .sidebar { transform: translateX(-100%); position: fixed; z-index: 100; box-shadow: 4px 0 15px rgba(0,0,0,0.05); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); } 
    .sidebar.active { transform: translateX(0); } 
    
    /* Layout Adjustments */
    .main-content { margin-left: 0; width: 100%; padding: 1rem; } 
    .profile-header { flex-direction: column; text-align: center; padding: 4rem 1.5rem 1.5rem 1.5rem; } /* Pushed down to make room for absolute button */
    .profile-img-container { margin: 0 auto; }
    
    /* Form & Nav adjustments for smooth mobile view */
    .form-section { padding: 1.5rem 1rem; }
    .form-grid { grid-template-columns: 1fr; gap: 1rem; } /* Stacks inputs smoothly */
    .profile-nav { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .angel-grid-container { grid-template-columns: 1fr; }
    .dual-btn-row { flex-direction: column; }
}


/* --- Verification UI Styles --- */
.verification-box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease-out;
}

.verify-status {
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.verify-status.pending { background: #FEF3C7; color: #92400E; border-left: 4px solid #F59E0B; }
.verify-status.verified { background: #D1FAE5; color: #065F46; border-left: 4px solid #10B981; }

.verify-status.rejected { 
    background: #FEF2F2; 
    color: #991B1B; 
    border-left: 4px solid #EF4444; 
    align-items: flex-start; /* Aligns the icon to the top if text wraps */
}

.doc-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.doc-upload-card {
    background: white;
    border: 2px dashed #D1D5DB;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.doc-upload-card:hover { border-color: var(--primary); background: #FEF2F2; transform: translateY(-2px); }
.doc-upload-card input[type="file"] {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer;
}
.doc-upload-card i { font-size: 24px; color: var(--gray); margin-bottom: 10px; transition: 0.3s; }
.doc-upload-card:hover i { color: var(--primary); }
.doc-upload-card .doc-title { font-size: 0.9rem; font-weight: 600; color: var(--dark); display: block; }
.doc-upload-card .doc-desc { font-size: 0.75rem; color: var(--gray); }

.file-selected { border-color: var(--secondary) !important; background: #F0FDF4 !important; }
.file-selected i { color: var(--secondary) !important; }

.btn-verify {
    background: var(--dark); color: white; border: none; padding: 12px 25px; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 20px; width: 100%; transition: 0.3s;
}
.btn-verify:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2); }



/* --- Collapsible Accordion Styles --- */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 10px;
    border-radius: 8px;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #E5E7EB;
}
.collapsible-header:hover { background: #F9FAFB; }
.collapsible-header h3 { font-size: 1.1rem; color: var(--dark); margin: 0; }
.transition-icon { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); color: var(--gray); }
.collapsible-header.active .transition-icon { transform: rotate(180deg); }

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease;
    padding: 0 10px;
}
.collapsible-content.expanded {
    max-height: 1000px; /* Arbitrary large number to allow content expansion */
    opacity: 1;
    padding: 15px 10px;
}


/* --- Specialty & Degrees Tag Input Styles --- */
.tags-wrapper { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.data-tag { 
    background: #EFF6FF; color: #2563EB; padding: 6px 14px; border-radius: 20px; 
    font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 8px; 
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #BFDBFE; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); 
}
.data-tag i { cursor: pointer; color: #EF4444; transition: transform 0.2s; font-size: 0.9rem; }
.data-tag i:hover { transform: scale(1.2); }

.tag-input-group { display: flex; gap: 10px; align-items: center; transition: all 0.3s; }
.tag-input-group .form-input { flex: 1; margin-bottom: 0 !important; }

.btn-add-tag { 
    background: var(--dark); color: white; border: none; min-width: 45px; height: 45px; 
    border-radius: 10px; cursor: pointer; transition: 0.3s; display: flex; 
    align-items: center; justify-content: center; font-size: 1rem; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}
.btn-add-tag:hover { background: var(--primary); transform: translateY(-2px); }
.btn-add-tag:active { transform: scale(0.95); }

.input-disabled-overlay { opacity: 0.5; pointer-events: none; filter: grayscale(50%); }

@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 500px) {
    .tag-input-group { flex-direction: column; align-items: stretch; }
    .btn-add-tag { width: 100%; height: 42px; }
}