/* ==========================================
   Remind 2.0 - Pure HTML/CSS/JS Version
   Premium Teal/Cyan Theme
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --bg-primary: #082f49;
    --bg-secondary: #0f3f5f;
    --bg-tertiary: #134e4a;
    --text-primary: #ffffff;
    --text-secondary: #a5f3fc;
    --text-muted: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --emerald-400: #34d399;
    --glass-bg: rgba(15, 55, 82, 0.7);
    --glass-border: rgba(6, 182, 212, 0.2);
    --card-bg: rgba(15, 55, 82, 0.95);
    --shadow-cyan: rgba(6, 182, 212, 0.4);
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-bg: linear-gradient(135deg, #082f49 0%, #0f3f5f 50%, #134e4a 100%);
}

/* Light Mode Variables */
.light-mode {
    --bg-primary: #ecfeff;
    --bg-secondary: #f0fdfa;
    --bg-tertiary: #d1fae5;
    --text-primary: #0f3f5f;
    --text-secondary: #0891b2;
    --text-muted: #0e7490;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(6, 182, 212, 0.4);
    --card-bg: rgba(255, 255, 255, 0.95);
    --gradient-bg: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 50%, #d1fae5 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.light-mode body::before {
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ==========================================
   Animations
   ========================================== */

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes pulse-glow-teal {
    0%, 100% {
        box-shadow: 0 0 40px 10px rgba(6, 182, 212, 0.5),
                    0 0 80px 20px rgba(6, 182, 212, 0.3),
                    0 0 120px 30px rgba(6, 182, 212, 0.15);
    }
    50% {
        box-shadow: 0 0 60px 15px rgba(6, 182, 212, 0.7),
                    0 0 100px 25px rgba(6, 182, 212, 0.4),
                    0 0 140px 35px rgba(6, 182, 212, 0.2);
    }
}

@keyframes scale-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Animation Classes */
.orb-glow-teal {
    animation: pulse-glow-teal 3s ease-in-out infinite, scale-pulse 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.4s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.4s ease-out;
}

/* ==========================================
   Glass Effect
   ========================================== */

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* ==========================================
   Buttons
   ========================================== */

.btn-teal {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px var(--shadow-cyan);
    transition: all 0.3s ease;
}

.btn-teal:hover {
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

.btn-teal.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    box-shadow: 0 6px 30px rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--cyan-400);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(6, 182, 212, 0.1);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--cyan-400);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(6, 182, 212, 0.2);
    color: var(--text-primary);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   Login Screen
   ========================================== */

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.bg-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.orb-1 {
    top: 25%;
    left: 25%;
    width: 384px;
    height: 384px;
    background: rgba(6, 182, 212, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

.orb-2 {
    bottom: 25%;
    right: 25%;
    width: 384px;
    height: 384px;
    background: rgba(20, 184, 166, 0.2);
    animation: pulse 4s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.login-container {
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    z-index: 10;
}

/* Logo */
.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
}

.logo-orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--teal-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.5);
}

.logo-inner {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--teal-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    color: white;
}

.ping-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.3);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-ring-2 {
    animation-delay: 0.5s;
}

/* App Title */
.app-title {
    text-align: center;
    margin-bottom: 48px;
}

.app-title h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--cyan-400), var(--teal-400), var(--emerald-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
}

.app-title p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Login Card */
.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.2);
}

.light-mode .login-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15);
}

.login-header {
    margin-bottom: 24px;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--cyan-400);
}

.input-wrapper input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 48px;
    font-size: 1rem;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
    background: rgba(15, 55, 82, 0.5);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
    color: rgba(103, 232, 249, 0.5);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--cyan-400);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
}

.light-mode .input-wrapper input {
    background: rgba(224, 242, 254, 0.5);
    color: var(--text-primary);
}

.light-mode .input-wrapper input::placeholder {
    color: rgba(8, 145, 178, 0.5);
}

.login-form .btn-teal {
    height: 56px;
    font-size: 1.125rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ==========================================
   Main App Screen
   ========================================== */

.main-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-cyan);
}

.header-logo-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.header-info h1 {
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan-400), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-text-desktop {
    display: none;
}

@media (min-width: 768px) {
    .btn-text-desktop {
        display: inline;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Chat Area */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Listening Indicator */
.listening-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.listening-orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.listening-icon {
    width: 60px;
    height: 60px;
    color: white;
}

.wave-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 48px;
}

.wave-bar {
    width: 4px;
    height: 48px;
    background: var(--cyan-400);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }

/* Messages Container */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.message.user {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px var(--shadow-cyan);
    animation: slideInRight 0.4s ease-out;
}

.message.assistant {
    align-self: flex-start;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
    animation: slideInLeft 0.4s ease-out;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* Input Area */
.input-area {
    padding: 12px 16px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.input-row input {
    flex: 1;
    height: 48px;
    padding: 0 20px;
    font-size: 0.9375rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 24px;
    background: var(--glass-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-row input::placeholder {
    color: rgba(103, 232, 249, 0.5);
}

.input-row input:focus {
    outline: none;
    border-color: var(--cyan-500);
}

.light-mode .input-row input {
    background: rgba(255, 255, 255, 0.9);
}

.mic-btn, .send-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-cyan);
    transition: all 0.3s ease;
}

.mic-btn:hover, .send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--shadow-cyan);
}

.mic-btn.recording {
    background: #ef4444;
    animation: pulse 1s ease-in-out infinite;
}

.mic-btn svg, .send-btn svg {
    width: 20px;
    height: 20px;
}

/* Reminders Sidebar */
.reminders-sidebar {
    display: none;
    width: 320px;
    border-left: 1px solid rgba(6, 182, 212, 0.2);
    padding: 24px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .reminders-sidebar {
        display: block;
    }
}

@media (min-width: 1024px) {
    .reminders-sidebar {
        width: 384px;
    }
}

.reminders-sidebar h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-card {
    padding: 16px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.reminder-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.reminder-card p {
    font-weight: 500;
    margin-bottom: 8px;
}

.reminder-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.reminder-time {
    color: var(--cyan-400);
}

.reminder-lang {
    padding: 4px 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--cyan-400);
}

.empty-reminders {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}

.empty-reminders-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-reminders-icon svg {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

/* Mobile Reminders Button */
.mobile-reminders-btn {
    display: flex;
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow-cyan);
    cursor: pointer;
    z-index: 40;
    transition: all 0.3s ease;
}

.mobile-reminders-btn:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .mobile-reminders-btn {
        display: none;
    }
}

/* ==========================================
   Modals
   ========================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    animation: fadeInUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-header h2, .modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan-500), var(--teal-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Settings Modal */
.settings-section {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.settings-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section h3 svg {
    width: 20px;
    height: 20px;
    color: var(--cyan-400);
}

.settings-section > p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.settings-section > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (min-width: 768px) {
    .selection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.selection-btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.selection-btn:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.selection-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--cyan-500);
    box-shadow: 0 4px 15px var(--shadow-cyan);
}

.selection-btn .voice-desc {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px;
}

.theme-section, .logout-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-info, .logout-info {
    flex: 1;
}

.theme-info h3, .logout-info h3 {
    margin-bottom: 4px;
}

.theme-info p, .logout-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.logout-section {
    border-color: rgba(239, 68, 68, 0.3);
}

.logout-info h3 {
    color: #f87171;
}

/* Voice Modal */
.voice-modal-content {
    max-width: 420px;
    text-align: center;
}

.voice-modal-content h2 {
    margin-bottom: 8px;
}

.voice-modal-content > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.sample-text {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.sample-text p {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-muted);
}

.voice-actions {
    display: flex;
    gap: 12px;
}

.voice-actions .btn-teal {
    flex: 1;
    padding: 16px 24px;
}

.recording-orb {
    width: 128px;
    height: 128px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.recording-icon {
    width: 48px;
    height: 48px;
    color: white;
}

.recording-time {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.recording-progress {
    height: 12px;
    background: var(--glass-bg);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
}

.recording-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: width 1s linear;
    box-shadow: 0 0 10px var(--shadow-cyan);
}

/* Mobile Reminders Modal */
.mobile-reminders-content {
    max-width: 420px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 80vh;
}

/* ==========================================
   Toast Notifications
   ========================================== */

.toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: toastIn 0.3s ease-out;
    max-width: 320px;
}

.toast.success {
    border-color: rgba(34, 197, 94, 0.5);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.5);
}

.toast.info {
    border-color: rgba(6, 182, 212, 0.5);
}

.toast.removing {
    animation: toastOut 0.3s ease-out forwards;
}

/* ==========================================
   Scrollbar
   ========================================== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.7);
}

/* ==========================================
   Light Mode Overrides
   ========================================== */

.light-mode .header {
    background: rgba(255, 255, 255, 0.9) !important;
}

.light-mode .header-info h1,
.light-mode .header-info p {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.light-mode .icon-btn {
    color: var(--text-secondary);
}

.light-mode .message.assistant {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

.light-mode .reminders-sidebar h3,
.light-mode .reminder-card p {
    color: var(--text-primary);
}

.light-mode .modal-content {
    background: rgba(255, 255, 255, 0.95);
}

.light-mode .modal-header h2,
.light-mode .modal-header h3 {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.light-mode .settings-section {
    background: rgba(224, 242, 254, 0.5);
}

.light-mode .settings-section h3 {
    color: var(--text-primary);
}

.light-mode .selection-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
    body::before {
        animation: none;
    }
    
    .app-title h1 {
        font-size: 2.5rem;
    }
    
    .logo-orb {
        width: 120px;
        height: 120px;
    }
    
    .logo-inner {
        width: 96px;
        height: 96px;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
    }
    
    .messages-container {
        padding: 12px;
    }
    
    .message {
        max-width: 90%;
    }
    
    .input-row input {
        height: 44px;
    }
    
    .mic-btn, .send-btn {
        width: 44px;
        height: 44px;
    }
}
