/* Base Styles (Desktop-First, > 1440px) */
.edvdo-dashboard-layout { display: flex; width: 100%;background: #ffffff; font-family: Roboto, Helvetica, Arial, sans-serif; position: relative; overflow-x: hidden; }
        
.edvdo-sidebar { width: 400px; height: 100vh; box-sizing: border-box; background: #ffffff; padding: 30px 20px; display: flex; flex-direction: column; border-right: 1px solid #eaeaea; flex-shrink: 0; transition: left 0.3s ease; position: sticky; top: 0; overflow-y: auto; }

.sidebar-close-container { display: none; text-align: right; margin-bottom: 15px; }
.sidebar-close-btn { background: transparent; border: none; font-size: 26px; cursor: pointer; color: #888; transition: 0.2s; line-height: 1; padding: 5px; }
.sidebar-close-btn:hover { color: #111; }

.profile-card { background: #efe2c6; padding: 15px; border-radius: 12px; margin-bottom: 30px; }
.profile-row { display: flex; align-items: center; gap: 12px; }
.profile-img img { width: 55px; border-radius: 25px!important; object-fit: cover; }
.profile-info h3 { margin: 0; font-size: 16px; font-weight: 700; color: #111; }
.profile-info p { margin: 2px 0; font-size: 13px; color: #333; line-height: 1.4; }

.menu { list-style: none; padding: 0; margin: 0; margin-top: 25px; }
.menu li { display: flex; align-items: center; gap: 10px; padding: 12px 15px; margin-bottom: 10px; border-radius: 30px; cursor: pointer; color: #000; font-weight: 500; font-size: 14px; transition: background 0.2s; background: #fff; }

.menu li img { width: 16px; height: 16px; object-fit: contain; filter: brightness(0) invert(0%); transition: filter 0.2s; } 
.menu li.active img { filter: brightness(0) invert(100%); } 

.menu li.active { background: #1e3a8a; color: #fff; }
.menu li:hover:not(.active) { background: #f2f2f2; }

.logout { margin-top: 40px; width: 100%; background: #fff; border: 1px solid red; color: red; padding: 10px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.5s; margin-bottom: 20px; }
.logout img { width: 12px; height: 12px; transition: filter 0.5s; }
.logout:hover { background: #EE4B2B; color: #fff; }
.logout:hover img { filter: brightness(0) invert(1); }

.edvdo-dashboard-content { flex-grow: 1; padding: 40px 60px; overflow-y: auto; background: #ffffff; width: calc(100% - 365px); box-sizing: border-box; }

.hamburger-container { display: none; } 

.edvdo-tab-content { display: none; }
.edvdo-tab-content.active-tab { display: block; }

.edvdo-profile-title { font-size: 24px; font-weight: 700; margin-bottom: 30px; color: #111; }

.edvdo-details-card { border: 1px solid #e0e0e0; border-radius: 12px; padding: 30px; margin-bottom: 30px; background: #fff; }
.edvdo-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.edvdo-card-title { font-size: 16px; font-weight: 600; color: #666; margin: 0; }

.edvdo-edit-btn { background: #fff; border: 1px solid #d1d5db; border-radius: 20px; color: #4b5563; font-size: 12px; padding: 6px 14px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
.edvdo-edit-btn:hover { background: #f9fafb; color: #111; }

.edvdo-fields-grid { display: grid; grid-template-columns: 1fr 1fr; row-gap: 24px; column-gap: 40px; }
.edvdo-field-item { display: flex; flex-direction: column; gap: 6px; }
.edvdo-field-label { font-size: 12px; color: #6b7280; font-weight: 500; }
.edvdo-field-value { font-size: 14px; font-weight: 600; color: #111827; word-break: break-word; }

/* Support Tab Specific Styles */
.support-card { border: 1px solid #e0e0e0; border-radius: 12px; padding: 30px; background: #fff; margin-bottom: 30px; }
.support-subtitle { font-size: 14px; color: #6b7280; margin-top: 0; margin-bottom: 25px; }
.support-item { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 16px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.support-item:last-child { margin-bottom: 0; }
.support-item:hover { border-color: #d1d5db; background-color: #f9fafb; }
.support-item-left { display: flex; align-items: center; gap: 16px; }
.support-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.support-icon.chat { background-color: #e6f0ff; color: #2563eb; }
.support-icon.issue { background-color: #ffedd5; color: #ea580c; }
.support-text { font-size: 14px; font-weight: 600; color: #111827; line-height: 1.3; }
.support-arrow { color: #9ca3af; display: flex; align-items: center; flex-shrink: 0; }

/* Personalization & Check-in Settings Specific Styles */
.settings-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 30px; background: #fff; margin-bottom: 30px; }
.settings-subtitle { font-size: 14px; color: #6b7280; margin-top: 0; margin-bottom: 25px; }

.settings-section { margin-bottom: 25px; }
.settings-section:last-child { margin-bottom: 0; }
.settings-label { display: block; font-size: 14px; font-weight: 600; color: #111; margin-bottom: 12px; }

.pill-group { display: flex; gap: 15px; flex-wrap: wrap; }
.pill-btn { flex: 1; min-width: 120px; padding: 12px 20px; border-radius: 30px; border: 1px solid transparent; background: #f3f4f6; color: #374151; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pill-btn.active { background: #eff6ff; border-color: #3b82f6; color: #1e3a8a; }

/* Time Icons in Pill Buttons */
.pill-btn .time-icon { width: 18px; height: 18px; object-fit: contain; }

.settings-list { display: flex; flex-direction: column; gap: 15px; }
.settings-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.settings-item-left { display: flex; align-items: center; gap: 16px; }
.settings-icon-wrapper { width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.settings-icon-wrapper.yellow { background-color: #fef3c7; color: #d97706; }
.settings-icon-wrapper.purple { background-color: #f3e8ff; color: #7e22ce; }
.settings-text-group h4 { margin: 0 0 4px 0; font-size: 14px; font-weight: 600; color: #111; }
.settings-text-group p { margin: 0; font-size: 12px; color: #6b7280; }

/* Toggle Switch styling */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
input:checked + .slider { background-color: #4f46e5; }
input:checked + .slider:before { transform: translateX(20px); }

/* Modal Overlays */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.6); display: none; justify-content: center; align-items: center; z-index: 999999; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-card { background-color: #ffffff; width: 100%; max-width: 650px; max-height: 90vh; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transform: translateY(-20px); transition: transform 0.3s ease; display: flex; flex-direction: column; overflow: hidden; margin: 15px; }
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-header { padding: 24px 30px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 18px; font-weight: 600; color: #111; margin: 0; }
.close-button { background: transparent; border: none; font-size: 24px; color: #888; cursor: pointer; transition: 0.2s; line-height: 1;}
.close-button:hover { color: #111; }
.modal-body { padding: 30px; overflow-y: auto; flex-grow: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: 12px; color: #4b5563; font-weight: 500; }
.input-group input, .input-group select { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; color: #111; outline: none; box-sizing: border-box; }
.input-group input:focus, .input-group select:focus { border-color: #1e3a8a; }
.modal-footer { padding: 20px 30px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; }
.btn-save { background-color: #1e3a8a; color: #ffffff; border: none; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }

           
/* ========================================= */
/* EXACT RESPONSIVE BREAKPOINTS              */
/* ========================================= */      

/* Desktop */
@media (min-width: 1441px) {
    .edvdo-sidebar {      width: 20%;   padding: 25px 15px;  }
    .edvdo-dashboard-content { width: calc(100% - 300px); padding: 30px 40px; }
}

/* Laptop */
@media (min-width: 1025px) and (max-width: 1440px) {
    .edvdo-sidebar { width: 30%; padding: 25px 15px; }
    .edvdo-dashboard-content { width: calc(100% - 300px); padding: 30px 40px; }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 1024px) {
    .edvdo-sidebar { position: fixed; left: -100%; top: 0; z-index: 21; height: 100vh; width: 300px; padding: 70px 20px 120px 20px; box-shadow: 2px 0 15px rgba(0,0,0,0.2); }
    .edvdo-sidebar.open { left: 0; }
    
    .sidebar-close-container { display: block; text-align: right; margin-bottom: 15px; }
    
    .edvdo-dashboard-content { width: 100%; }
    
    .hamburger-container { display: block; text-align: right; margin-bottom: 20px; width: 100%; }
    .hamburger { display: inline-block; font-size: 16px; cursor: pointer; background: #fff; padding: 8px 14px; border-radius: 6px; border: 1px solid #d1d5db; color: #111; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

    .edvdo-fields-grid, .form-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Keep edit button on the right for tablets */
    .edvdo-card-header { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 20px; }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 480px) {
    .edvdo-sidebar { position: fixed; left: -100%; top: 0; z-index: 21; height: 100vh; width: 280px; padding: 60px 15px 100px 15px; box-shadow: 2px 0 15px rgba(0,0,0,0.2); }
    .edvdo-sidebar.open { left: 0; }
    
    .sidebar-close-container { display: block; text-align: right; margin-bottom: 15px; }
    
    .edvdo-dashboard-content {width: 100%;padding: 20px 15px;margin-bottom: 150px;}
    
    .hamburger-container { display: block; text-align: right; margin-bottom: 20px; width: 100%; }
    .hamburger { display: inline-block; font-size: 15px; cursor: pointer; background: #fff; padding: 6px 12px; border-radius: 6px; border: 1px solid #d1d5db; color: #111; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
    
    .edvdo-profile-title { font-size: 20px; margin-bottom: 20px; }
    .edvdo-details-card, .settings-card { padding: 20px 15px; margin-bottom: 20px; }
    
    /* Keep edit button on the right for mobile */
    .edvdo-card-header { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 20px; }
    
    .edvdo-fields-grid, .form-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .support-card { padding: 15px; }
    .support-item { padding: 14px 15px; }
    .support-item-left { gap: 12px; }
    .support-icon { width: 32px; height: 32px; }
    .support-icon svg { width: 16px; height: 16px; }
    .support-text { font-size: 13px; }
    
    .modal-header, .modal-body { padding: 20px 15px; }
    .modal-footer { padding: 15px; }
    .settings-item-left { display: flex;align-items: center;gap: 10px;}
    .settings-item {display: flex;align-items: center;justify-content: space-between;padding: 16px 10px;border: 1px solid #e5e7eb;border-radius: 12px;background: #fff;}
    .profile-info h3 {margin: 0;font-size: 14px;font-weight: 700;color: #111;}
    .profile-info p {margin: 2px 0;font-size: 12px;color: #333;line-height: 1.4;}
                      
}

/* Extra small screen */
@media (max-width: 320px) {
    .edvdo-sidebar { position: fixed; left: -100%; top: 0; z-index: 21; height: 100vh; width: 260px; padding: 50px 10px 100px 10px; }
    .edvdo-sidebar.open { left: 0; }
    .sidebar-close-container { display: block; text-align: right; margin-bottom: 10px; }
    .edvdo-dashboard-content { width: 100%; padding: 15px 10px; }
    .hamburger-container { display: block; text-align: right; margin-bottom: 15px; width: 100%; }
    .hamburger { display: inline-block; font-size: 14px; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff;}
    .edvdo-fields-grid, .form-grid { grid-template-columns: 1fr; }
    .support-card { padding: 12px; }
    .support-item { padding: 10px; }
    .support-item-left { gap: 8px; }
    .support-icon { width: 28px; height: 28px; }
    .support-icon svg { width: 14px; height: 14px; }
    .support-text { font-size: 12px; }
    .settings-item-left { display: flex;align-items: center;gap: 10px;}
    .settings-item {display: flex;align-items: center;justify-content: space-between;padding: 16px 10px;border: 1px solid #e5e7eb;border-radius: 12px;background: #fff;}
    .settings-card {border: 1px solid #e5e7eb; border-radius: 12px;padding: 10px;background: #fff;margin-bottom: 30px;}
    .profile-info h3 {margin: 0;font-size: 12px;font-weight: 700;color: #111;}
    .profile-info p {margin: 2px 0;font-size: 12px;color: #333;line-height: 1.4;}                  
}