:root {
    --bg-dark: #000000;
    --surface-1: rgba(30, 30, 30, 0.7);
    --surface-2: rgba(45, 45, 45, 0.85);
    --surface-solid: #1e1e1e;
    --surface-app: #121212;
    --accent: #a8c7fa;
    --accent-bg: rgba(168, 199, 250, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #c7c7c7;
    --font-family: 'Roboto', sans-serif;
    --blur-heavy: blur(40px);
    --blur-light: blur(15px);
    --anim-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }

body { background-color: var(--bg-dark); font-family: var(--font-family); overflow: hidden; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; }

#screen { position: relative; width: 100vw; height: 100vh; overflow: hidden; background-color: var(--bg-dark); }

#wallpaper { position: absolute; top: -5%; left: -5%; width: 110%; height: 110%; background-image: url('../wallpaper.jpg'); background-size: cover; background-position: center; z-index: 1; transition: filter 0.4s ease; }
#wallpaper-blur-overlay { position: absolute; top: -5%; left: -5%; width: 110%; height: 110%; background: rgba(0,0,0,0.4); backdrop-filter: blur(25px); z-index: 70; opacity: 1; transition: opacity 0.4s ease; pointer-events: none; }

.layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; transition: transform 0.4s var(--anim-spring), opacity 0.3s ease; will-change: transform, opacity; }
.layer.hidden { pointer-events: none; opacity: 0; }

#boot-screen { background-color: var(--bg-dark); z-index: 999; display: flex; justify-content: center; align-items: center; }
#boot-logo { font-size: 100px; color: #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0.7; } }

.gesture-hitbox { position: absolute; bottom: 0; width: 100%; height: 80px; z-index: 100; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 15px; cursor: grab; touch-action: none; }
.gesture-hitbox:active { cursor: grabbing; }
.gesture-line { width: 150px; height: 4px; background: rgba(255,255,255,0.8); border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.5); transition: transform 0.2s; }
.gesture-hitbox:active .gesture-line { transform: scaleY(1.5) scaleX(0.9); }
.drawer-handle { width: 60px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 2px; margin-bottom: 5px; }

.icon-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-1); border: none; color: white; display: flex; justify-content: center; align-items: center; backdrop-filter: var(--blur-light); cursor: pointer; overflow: hidden; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.ripple { position: relative; overflow: hidden; }
.ripple-ink { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transform: scale(0); animation: rippleAnim 0.6s linear; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

#statusbar, #app-statusbar, #lock-statusbar { height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; color: white; font-size: 14px; font-weight: 500; z-index: 50; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
#sb-right, #app-sb-right, .lock-icons { display: flex; align-items: center; gap: 6px; }
.material-symbols-rounded { font-size: 20px; }

#desktop { z-index: 20; display: flex; flex-direction: column; }
#home-content { flex-grow: 1; padding: 60px 40px; display: flex; flex-direction: column; }
#widget-glance { color: white; margin-bottom: 50px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
#widget-date { display: block; font-size: 32px; font-weight: 500; margin-bottom: 5px; }
#widget-weather { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 400; opacity: 0.9; }

#home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 30px 20px; }
.app-icon { display: flex; flex-direction: column; align-items: center; cursor: pointer; position: relative; }
.app-icon:active .app-icon-img { transform: scale(0.9); }
.app-icon-img { width: 64px; height: 64px; border-radius: 22px; background: var(--surface-solid); display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); margin-bottom: 8px; transition: transform 0.2s; color: white; position: relative; background-size: cover; background-position: center; }
.app-icon-img .material-symbols-rounded { font-size: 32px; }
.app-icon-label { color: white; font-size: 13px; font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,0.8); text-align: center; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: 100%; }

#taskbar-container { position: absolute; bottom: 40px; width: 100%; display: flex; justify-content: center; z-index: 30; }
#taskbar { background: rgba(20, 20, 20, 0.6); backdrop-filter: var(--blur-heavy); border-radius: 35px; padding: 10px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); }
#taskbar-apps { display: flex; gap: 15px; }
#taskbar-divider { width: 2px; height: 30px; background: rgba(255,255,255,0.15); border-radius: 1px;}
#taskbar-recent { display: flex; gap: 15px; }

#lockscreen { z-index: 80; display: flex; flex-direction: column; color: white; touch-action: none; }
#lock-bg { position: absolute; top:0; left:0; width:100%; height:100%; background: transparent; z-index: -1; }
#lock-center { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
#lock-time { font-size: 150px; font-weight: 300; letter-spacing: -2px; margin-bottom: -10px; }
#lock-date { font-size: 24px; font-weight: 400; opacity: 0.9; }
#lock-bottom { display: flex; justify-content: space-between; align-items: flex-end; padding: 40px; }
#lock-swipe-area { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 80px; padding-bottom: 10px; cursor: grab;}
.lock-icon-anim { margin-bottom: 20px; font-size: 24px; animation: bounce 2s infinite; opacity: 0.7;}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

#app-drawer { z-index: 40; }
#drawer-bg { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(20,20,20,0.85); backdrop-filter: var(--blur-heavy); }
#drawer-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 20px 40px; }
#drawer-handle-area { top: 0; bottom: auto; align-items: flex-start; padding-top: 10px;}
#drawer-search { margin-top: 20px; margin-bottom: 30px; background: rgba(255,255,255,0.1); border-radius: 30px; padding: 15px 25px; display: flex; align-items: center; gap: 15px; }
#drawer-search input { background: transparent; border: none; color: white; font-size: 16px; flex-grow: 1; outline: none; }
#drawer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 30px 20px; overflow-y: auto; padding-bottom: 80px; }

#notification-shade { z-index: 90; }
#shade-backdrop { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
#shade-panel { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; background: rgba(30,30,30,0.9); backdrop-filter: var(--blur-heavy); border-bottom-left-radius: 35px; border-bottom-right-radius: 35px; padding: 30px; padding-bottom: 50px; color: white; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-top: none; }
#shade-handle-area { bottom: 0; padding-bottom: 10px;}
#qs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
#qs-date { font-size: 18px; font-weight: 500; }
.qs-actions span { padding: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); cursor: pointer; margin-left: 10px; }
#qs-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 25px; }
.qs-tile { background: rgba(255,255,255,0.1); border-radius: 25px; padding: 20px; display: flex; align-items: center; gap: 15px; font-weight: 500; font-size: 16px; cursor: pointer; transition: background 0.2s;}
.qs-tile.active { background: var(--accent); color: #000; }
#qs-brightness { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.05); padding: 15px 25px; border-radius: 25px; }
#qs-brightness input { flex-grow: 1; accent-color: var(--accent); }

#app-window { z-index: 60; background: var(--surface-app); display: flex; flex-direction: column; overflow: hidden; transform-origin: center; border-radius: 0; }
#app-statusbar { background: var(--surface-app); }
#app-content { flex-grow: 1; overflow-y: auto; background: var(--surface-app); position: relative; color: var(--text-primary); display: flex; flex-direction: column;}

#recents-view { z-index: 55; }
#recents-bg { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); backdrop-filter: var(--blur-light); }
#recents-carousel { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding: 0 40px; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; }
.recent-card { width: 320px; height: 60vh; background: var(--surface-solid); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); display: flex; flex-direction: column; scroll-snap-align: center; overflow: hidden; transform: scale(0.95); transition: transform 0.2s, opacity 0.2s; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); touch-action: none; position: relative;}
.recent-card:hover { transform: scale(1); }
.recent-header { padding: 15px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); font-weight: 500; color: white; border-bottom: 1px solid rgba(255,255,255,0.05);}
.recent-preview { flex-grow: 1; background: #000; position: relative; display: flex; justify-content: center; align-items: center; }

/* Easter Egg 13 Styles */
#easter-egg { z-index: 900; background: #e3f2fd; display: flex; justify-content: center; align-items: center; overflow: hidden; }

.ee-clock { width: 300px; height: 300px; border-radius: 52px; position: relative; background-color: #bbdefb; cursor: grab; user-select: none; touch-action: none; }
.ee-clock:active { cursor: grabbing; }
.ee-clock::after { content: ""; display: block; width: 300px; height: 300px; border-radius: 52px; position: absolute; top: 0; z-index: -2; background-color: #bbdefb; transform: rotate(30deg); }
.ee-clock::before { content: ""; display: block; width: 300px; height: 300px; border-radius: 52px; position: absolute; top: 0; z-index: -1; background-color: #bbdefb; transform: rotate(-30deg); }

.ee-hand { width: 100%; height: 100%; border-radius: 50%; display: flex; justify-content: center; align-items: center; position: absolute; top: 0; transition: transform 0.1s linear; }
#ee-hours::after { content: ""; display: block; width: 22px; height: 95px; margin-top: -24%; border-radius: 11px; background-color: #0d47a1; }
#ee-minutes::after { content: ""; display: block; width: 22px; height: 110px; margin-top: -30%; border-radius: 11px; background-color: #1976d2; }
#ee-seconds::after { content: ""; display: block; width: 15px; height: 15px; border-radius: 50%; background-color: #eee; }

.ee-badge { display: none; width: 300px; height: 300px; border-radius: 50%; background-color: #f7b731; color: #361200; font-size: 135px; font-weight: 900; justify-content: center; align-items: center; animation: popInEe 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes popInEe { 0% { transform: scale(0.5) rotate(-30deg); opacity: 0; } 100% { transform: scale(1) rotate(0deg); opacity: 1; } }

#ee-close { position: absolute; bottom: 50px; background: rgba(0,0,0,0.2); width: 64px; height: 64px; z-index: 10; color: white; }

/* Functional App Styles */
.app-header { padding: 20px 24px; font-size: 24px; font-weight: 500; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; background: var(--surface-app); z-index: 2;}
.app-body { padding: 0; flex-grow: 1; overflow-y: auto; }
.list-item { display: flex; align-items: center; padding: 20px 24px; gap: 20px; cursor: pointer; transition: background 0.2s; }
.list-item:hover { background: rgba(255,255,255,0.05); }
.toggle-switch { width: 50px; height: 28px; background: rgba(255,255,255,0.2); border-radius: 14px; position: relative; transition: background 0.3s; margin-left: auto; }
.toggle-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; background: white; border-radius: 50%; transition: transform 0.3s; }
.toggle-switch.on { background: var(--accent); }
.toggle-switch.on::after { transform: translateX(22px); }

/* Messages App */
.msg-container { display: flex; flex-direction: column; height: 100%; background: #0b0b0b; }
.msg-history { flex-grow: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.msg-bubble { max-width: 70%; padding: 12px 18px; border-radius: 20px; font-size: 16px; line-height: 1.4; word-wrap: break-word; }
.msg-received { background: var(--surface-2); color: white; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-sent { background: var(--accent); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-input-area { display: flex; gap: 10px; padding: 15px 20px; background: var(--surface-1); border-top: 1px solid rgba(255,255,255,0.05); }
.msg-input-area input { flex-grow: 1; background: rgba(255,255,255,0.1); border: none; border-radius: 24px; padding: 12px 20px; color: white; font-size: 16px; outline: none; }
.msg-input-area button { background: var(--accent); color: #000; width: 48px; height: 48px; border-radius: 50%; border: none; display: flex; justify-content: center; align-items: center; cursor: pointer; }

/* Calendar App */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; padding: 20px; text-align: center; }
.cal-day-header { font-weight: 500; color: var(--accent); padding-bottom: 10px; }
.cal-day { aspect-ratio: 1; display: flex; justify-content: center; align-items: center; border-radius: 50%; cursor: pointer; font-size: 16px; }
.cal-day:hover { background: rgba(255,255,255,0.1); }
.cal-day.active { background: var(--accent); color: #000; font-weight: bold; }
.cal-day.empty { pointer-events: none; opacity: 0; }

/* Clock App */
.clock-app-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding-bottom: 60px; }
.clock-large-time { font-size: 100px; font-weight: 300; margin-bottom: 10px; letter-spacing: -2px; }
.clock-large-date { font-size: 24px; color: var(--accent); }
.clock-tabs { position: absolute; bottom: 20px; display: flex; gap: 30px; background: var(--surface-1); padding: 10px 30px; border-radius: 30px; }
.clock-tab { padding: 10px; display: flex; flex-direction: column; align-items: center; cursor: pointer; color: var(--text-secondary); gap: 5px; font-size: 12px;}
.clock-tab.active { color: var(--accent); }

/* Play Store */
.install-btn { padding: 8px 24px; background: #01875f; color: white; border: none; border-radius: 20px; cursor: pointer; margin-left: auto; font-weight: 500; font-size: 14px; transition: background 0.2s;}
.install-btn:disabled { background: rgba(255,255,255,0.1); color: var(--text-secondary); cursor: not-allowed; }
.install-btn.installed { background: transparent; border: 1px solid rgba(255,255,255,0.2); }

/* Other Apps */
.camera-ui { position: absolute; bottom: 0; width: 100%; height: 120px; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; }
.shutter { width: 80px; height: 80px; border-radius: 50%; border: 4px solid white; background: rgba(255,255,255,0.3); display: flex; justify-content: center; align-items: center; cursor: pointer; }
.shutter-inner { width: 60px; height: 60px; background: white; border-radius: 50%; transition: transform 0.1s; }
.shutter:active .shutter-inner { transform: scale(0.9); }
#video-element { width: 100%; height: 100%; object-fit: cover; background: #000; }

.dialer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px; max-width: 400px; margin: 0 auto; }
.dial-btn { aspect-ratio: 1; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; }
.dial-num { font-size: 32px; font-weight: 400; }
.dial-letters { font-size: 12px; color: var(--text-secondary); letter-spacing: 2px;}
#dial-display { height: 100px; display: flex; justify-content: center; align-items: center; font-size: 40px; letter-spacing: 2px; }

.masonry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 10px; }
.grid-img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: #333; }
.store-item { display: flex; gap: 15px; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: center;}
.store-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 30px;}

.calc-container { display: flex; flex-direction: column; height: 100%; padding-bottom: 40px; }
#calc-display { flex-grow: 1; display: flex; justify-content: flex-end; align-items: flex-end; padding: 40px; font-size: 80px; font-weight: 300; }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 0 20px; }
.calc-btn { aspect-ratio: 1; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 28px; cursor: pointer; }
.calc-btn.op { background: var(--accent-bg); color: var(--accent); }
.calc-btn.eq { background: var(--accent); color: #000; }

.iframe-container { width: 100%; flex-grow: 1; border: none; background: white; }

/* File Manager */
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 20px; padding: 20px; }
.file-item { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; padding: 15px; border-radius: 12px; transition: background 0.2s; }
.file-item:hover { background: rgba(255,255,255,0.05); }
.file-icon { font-size: 48px; color: var(--accent); }
.file-name { font-size: 14px; text-align: center; word-break: break-all; }

/* Browser */
.browser-bar { display: flex; align-items: center; padding: 15px; background: var(--surface-2); gap: 15px; }
.browser-input { flex-grow: 1; border-radius: 24px; border: none; padding: 15px 25px; background: rgba(255,255,255,0.1); color: white; font-size: 16px; outline: none; }

/* Custom Apps (Instagram, WhatsApp, Spotify, TikTok, Netflix) */
/* Instagram */
.ig-header { display: flex; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #333; font-family: cursive; font-size: 24px; background: #000; z-index: 2;}
.ig-stories { display: flex; gap: 15px; padding: 15px; overflow-x: auto; border-bottom: 1px solid #222; }
.ig-story { flex-shrink: 0; width: 70px; height: 70px; border-radius: 50%; border: 3px solid #E1306C; padding: 3px; }
.ig-story-img { width: 100%; height: 100%; border-radius: 50%; background: #333; object-fit: cover;}
.ig-post { border-bottom: 1px solid #222; padding-bottom: 15px; }
.ig-post-header { display: flex; align-items: center; padding: 10px 15px; gap: 10px; }
.ig-post-img { width: 100%; aspect-ratio: 1; background: #111; object-fit: cover; }
.ig-post-actions { padding: 10px 15px; display: flex; gap: 15px; }

/* WhatsApp */
.wa-header { display: flex; justify-content: space-between; padding: 15px 20px; background: #075E54; font-size: 20px; font-weight: 500;}
.wa-chat { display: flex; align-items: center; padding: 15px 20px; gap: 15px; cursor: pointer; transition: background 0.2s; }
.wa-chat:hover { background: rgba(255,255,255,0.05); }
.wa-avatar { width: 50px; height: 50px; border-radius: 50%; background: #333; }
.wa-chat-info { flex-grow: 1; }
.wa-chat-time { font-size: 12px; color: var(--text-secondary); }

/* Spotify */
.sp-header { padding: 20px; font-size: 28px; font-weight: bold; background: linear-gradient(to bottom, #1DB954, var(--surface-app)); }
.sp-card-row { display: flex; gap: 15px; overflow-x: auto; padding: 0 20px 20px 20px; }
.sp-card { min-width: 140px; background: #181818; padding: 15px; border-radius: 8px; cursor: pointer; transition: background 0.2s;}
.sp-card:hover { background: #282828; }
.sp-card-img { width: 100%; aspect-ratio: 1; background: #333; margin-bottom: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.sp-title { font-weight: bold; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.sp-desc { font-size: 13px; color: #b3b3b3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}

/* TikTok */
.tt-container { height: 100%; width: 100%; background: #000; overflow-y: scroll; scroll-snap-type: y mandatory; }
.tt-video { height: 100%; width: 100%; scroll-snap-align: start; position: relative; display: flex; justify-content: center; align-items: center; background-size: cover; background-position: center;}
.tt-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); display: flex; justify-content: space-between; align-items: flex-end;}
.tt-actions { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.tt-action { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 13px; }

/* Netflix */
.nf-hero { height: 60%; background: linear-gradient(to top, var(--surface-app), transparent), url('https://picsum.photos/800/600') center/cover; position: relative; }
.nf-hero-content { position: absolute; bottom: 30px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.nf-play-btn { background: white; color: black; font-weight: bold; padding: 10px 30px; border-radius: 4px; border: none; font-size: 16px; cursor: pointer; display: flex; align-items: center; gap: 5px;}
.nf-row { padding: 0 20px 30px 20px; }
.nf-row-title { font-size: 20px; font-weight: bold; margin-bottom: 10px; }
.nf-posters { display: flex; gap: 10px; overflow-x: auto; }
.nf-poster { width: 120px; height: 180px; flex-shrink: 0; background: #333; border-radius: 4px; object-fit: cover; transition: transform 0.2s; cursor: pointer;}
.nf-poster:hover { transform: scale(1.05); }
.nf-video-modal { position: absolute; top:0; left:0; width:100%; height:100%; background:black; z-index: 10; display:flex; flex-direction:column;}
.nf-video-close { padding: 15px; color:white; display:flex; align-items:center; gap:10px; cursor:pointer; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);}

/* WhatsApp Chat View */
.wa-chat-view { display:flex; flex-direction:column; height:100%; background:#e5ddd5; position:absolute; top:0; left:0; width:100%; z-index:5; }
.wa-chat-header { display:flex; align-items:center; padding:10px 15px; background:#075E54; gap:15px; color:white; }
.wa-chat-messages { flex-grow:1; padding:20px; overflow-y:auto; display:flex; flex-direction:column; gap:10px; }
.wa-msg { max-width:80%; padding:10px 15px; border-radius:15px; font-size:15px; position:relative; box-shadow: 0 1px 2px rgba(0,0,0,0.1);}
.wa-msg.sent { align-self:flex-end; background:#dcf8c6; color:black; border-top-right-radius:0; }
.wa-msg.received { align-self:flex-start; background:white; color:black; border-top-left-radius:0; }
.wa-chat-input { display:flex; padding:10px; gap:10px; background:transparent; }
.wa-input-box { flex-grow:1; background:white; border-radius:24px; padding:12px 20px; border:none; outline:none; color:black; }
.wa-send-btn { width:45px; height:45px; border-radius:50%; background:#075E54; color:white; display:flex; justify-content:center; align-items:center; border:none; cursor:pointer; }
