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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-card: #f1f3f5;
    --text: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
}

/* Dark Mode Variables */
:root[data-theme="dark"] {
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-card: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
}

/* Color Theme Presets */
:root[data-color="blue"] {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
}

:root[data-color="purple"] {
    --primary: #a855f7;
    --primary-dark: #9333ea;
    --secondary: #c084fc;
}

:root[data-color="green"] {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #34d399;
}

:root[data-color="pink"] {
    --primary: #ec4899;
    --primary-dark: #db2777;
    --secondary: #f472b6;
}

:root[data-color="orange"] {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --secondary: #fb923c;
}

:root[data-color="teal"] {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --secondary: #2dd4bf;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.screen {
    min-height: 100vh;
    padding-bottom: 80px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.hidden {
    display: none !important;
}

/* Typography */
h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Buttons */
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: var(--border);
}

/* Onboarding */
#onboarding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-step {
    text-align: center;
    animation: fadeIn 0.3s;
}

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

.class-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.class-btn {
    background: var(--bg-card);
    color: var(--text);
    padding: 2rem 1rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.2s;
}

.class-btn:hover, .class-btn.selected {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--bg-light);
    color: var(--text);
    font-size: 1rem;
    margin-top: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Subject List in Onboarding */
.subject-list {
    margin: 1.5rem 0;
}

.subject-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.subject-input {
    margin: 0;
}

.chapters-input {
    margin: 0;
}

.step-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.subject-checkbox-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.subject-checkbox-item {
    margin-bottom: 0.75rem;
}

.subject-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.subject-checkbox-label:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.subject-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.subject-name {
    flex: 1;
    font-weight: 600;
    color: var(--text);
}

.subject-chapters {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Book Selection UI */
.subject-main {
    margin-bottom: 0.5rem;
}

.subject-books {
    margin-left: 2rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.books-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.book-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.book-checkbox-label:hover {
    border-color: var(--primary);
    background: var(--bg-card);
}

.book-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.book-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text);
}

.book-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.book-chapters {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Chapter Tracker - Book Headers */
.book-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem;
    border-radius: 0.75rem;
    margin: 1rem 0 0.75rem 0;
}

.book-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.book-type-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

/* Dashboard */
.header {
    margin-bottom: 1.5rem;
}

.date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.streak-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.streak-number {
    font-size: 4rem;
    font-weight: 700;
}

.streak-label {
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

/* Pet Selection Grid (Onboarding) */
.pet-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

.pet-option {
    background: var(--bg-card);
    border: 3px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pet-option:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pet-option.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.pet-option.selected .pet-option-name,
.pet-option.selected .pet-option-desc {
    color: white;
}

.pet-option-emoji {
    font-size: 4rem;
    margin-bottom: 0.75rem;
    animation: petFloat 3s ease-in-out infinite;
}

.pet-option-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.pet-option-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Pet Card (Dashboard) */
.pet-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pet-card-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text);
}

.pet-stage-badge {
    background: var(--primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pet-display {
    text-align: center;
    padding: 1.5rem 0;
}

.pet-emoji {
    font-size: 5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.pet-emoji.happy {
    animation: petBounce 1.5s ease-in-out infinite;
}

.pet-emoji.celebrating {
    animation: petCelebrate 0.6s ease-in-out;
}

.pet-emoji.sad {
    opacity: 0.7;
    font-size: 4rem;
}

.pet-emoji.very-sad {
    opacity: 0.5;
    font-size: 3rem;
}

.pet-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
}

.happiness-container {
    margin: 1.25rem 0;
}

.happiness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.happiness-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.happiness-emoji {
    font-size: 1.25rem;
}

.happiness-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}

.happiness-bar {
    height: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    overflow: hidden;
}

.happiness-fill {
    height: 100%;
    transition: width 0.5s ease, background 0.3s ease;
    border-radius: 0.5rem;
}

.happiness-fill.high {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.happiness-fill.medium {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.happiness-fill.low {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.pet-xp-progress {
    margin: 1.25rem 0;
}

.pet-xp-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: center;
}

.pet-xp-bar {
    height: 0.5rem;
    background: var(--bg-light);
    border-radius: 0.25rem;
    overflow: hidden;
}

.pet-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.5s ease;
    border-radius: 0.25rem;
}

.pet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.pet-action-btn {
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pet-action-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--bg-card);
    transform: translateY(-2px);
}

.pet-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pet-action-btn .btn-emoji {
    font-size: 1.5rem;
}

.pet-action-btn .btn-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.pet-action-btn .btn-cost {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Pet Animations */
@keyframes petFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes petBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes petCelebrate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.1);
    }
    75% {
        transform: rotate(15deg) scale(1.1);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.pet-emoji.sparkle::after {
    content: '✨';
    position: absolute;
    animation: sparkle 1s ease-in-out;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pet-card {
        padding: 1.25rem;
    }
    
    .pet-emoji {
        font-size: 4rem;
    }
    
    .pet-option-emoji {
        font-size: 3rem;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.study-meter {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.meter-bar {
    background: var(--bg-light);
    height: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 1rem 0;
}

.meter-fill {
    background: linear-gradient(90deg, var(--success), var(--primary));
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.action-btn {
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 100;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    color: var(--text-muted);
    padding: 0.5rem;
    min-width: 60px;
}

.nav-btn.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.nav-label {
    font-size: 0.75rem;
}

/* Views */
.view {
    display: none;
    animation: fadeIn 0.3s;
}

.view.active {
    display: block;
}

/* Tracker */
.subject-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.subject-tab {
    background: var(--bg-card);
    color: var(--text);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.subject-tab.active {
    background: var(--primary);
}

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chapter-item {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chapter-info {
    flex: 1;
}

.chapter-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chapter-status {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.chapter-status.in-progress {
    color: var(--warning);
}

.chapter-status.completed {
    color: var(--success);
}

.status-btn {
    background: var(--bg-light);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.status-btn:hover {
    background: var(--border);
}

/* Challenge */
.challenge-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.challenge-progress {
    margin: 2rem 0;
}

.progress-bar {
    background: var(--bg-light);
    height: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.badge-showcase {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    font-size: 3rem;
    filter: grayscale(0%);
}

.badge.locked {
    filter: grayscale(100%);
    opacity: 0.3;
}

/* Trust Card */
.trust-card-section {
    margin-top: 2rem;
}

.trust-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 1rem;
}

.trust-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.trust-badge {
    font-size: 2.5rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.trust-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.trust-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Leaderboard */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.leaderboard-item {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leaderboard-item.current-user {
    border: 2px solid var(--primary);
}

.leaderboard-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    width: 40px;
}

.leaderboard-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
}

.leaderboard-info {
    flex: 1;
    margin-left: 1rem;
}

.leaderboard-name {
    font-weight: 600;
}

.leaderboard-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.leaderboard-class {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.leaderboard-score {
    font-size: 1.25rem;
    font-weight: 700;
}

.leaderboard-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 2rem;
    padding: 1rem;
}

/* Profile */
.profile-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar-large {
    font-size: 4rem;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.profile-avatar-large.legend {
    position: relative;
    border: none !important;
    z-index: 1;
}

.profile-avatar-large.legend::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6ec4, #7873f5, #4ade80, #fbbf24);
    z-index: -1;
}

.profile-info {
    color: white;
    width: 100%;
}

.profile-info h2 {
    color: white;
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.profile-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.profile-level-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.xp-progress-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.xp-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.xp-progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    transition: width 0.3s ease;
}

.xp-progress-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.customization-section {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.customization-section h3 {
    margin-bottom: 1.5rem;
}

.customization-group {
    margin-bottom: 2rem;
}

.customization-group:last-child {
    margin-bottom: 0;
}

.customization-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.avatar-category {
    margin-bottom: 1.5rem;
}

.avatar-category:last-child {
    margin-bottom: 0;
}

.avatar-category-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
}

.emoji-option {
    font-size: 2rem;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-light);
    border: 2px solid transparent;
}

.emoji-option:hover {
    transform: scale(1.1);
    background: var(--bg);
}

.emoji-option.selected {
    background: var(--primary);
    border-color: var(--primary-dark);
    transform: scale(1.05);
}

#frameGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.frame-option {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.frame-option.unlocked:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.frame-option.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
}

.frame-option.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.frame-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 0.5rem;
    background: var(--bg);
}

.frame-preview.legend {
    position: relative;
    border: none !important;
    background: var(--bg);
    z-index: 1;
}

.frame-preview.legend::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6ec4, #7873f5, #4ade80, #fbbf24);
    z-index: -1;
}

.frame-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.frame-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.frame-option.selected .frame-name,
.frame-option.selected .frame-status {
    color: white;
}

.settings-section,
.firebase-section {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.setting-btn {
    background: var(--bg-light);
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.setting-btn:hover {
    background: var(--border);
}

.setting-btn.danger {
    color: var(--danger);
}

.info-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.small-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    margin: 0;
}

/* Edit Subjects Modal */
.edit-subjects-modal {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.edit-subjects-list {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 1rem;
}

/* Login Page */
#login {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    background: white;
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.login-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.login-title {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
}

.google-btn {
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
    cursor: pointer;
}

.google-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.google-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%2334A853" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%234A90E2" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%23FBBC05" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/><path fill="none" d="M0 0h48v48H0z"/></svg>') center/contain no-repeat;
}

.skip-btn {
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.75rem;
}

.skip-btn:hover {
    background: #f9fafb;
    color: #1f2937;
    border-color: #d1d5db;
}

.login-footer {
    margin-top: 2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Daily Goal Card */
.daily-goal-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.daily-goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.daily-goal-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

#dailyGoalEmoji {
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

#dailyGoalEmoji.celebrate {
    animation: celebrate 0.6s ease-in-out;
}

@keyframes celebrate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-15deg); }
    50% { transform: scale(1.3) rotate(15deg); }
    75% { transform: scale(1.3) rotate(-15deg); }
}

#dailyGoalText {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.goal-bar {
    background: var(--bg-light);
    height: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.goal-fill {
    background: linear-gradient(90deg, var(--success), var(--primary));
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

/* Streak Calendar */
.streak-calendar {
    display: flex;
    justify-content: space-around;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.calendar-day-label {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 600;
}

.calendar-day-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.calendar-day.complete .calendar-day-dot {
    background: var(--success);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.calendar-day.partial .calendar-day-dot {
    background: var(--warning);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.calendar-day.none .calendar-day-dot {
    background: rgba(255, 255, 255, 0.2);
}

/* Badge Wall */
.badge-wall-section {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.badge-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.badge-item {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-item.locked {
    opacity: 0.4;
    filter: grayscale(100%);
}

.badge-item.unlocked {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.badge-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.badge-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Leaderboard Tabs */
.leaderboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.leaderboard-tab {
    flex: 1;
    background: transparent;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.leaderboard-tab.active {
    background: var(--primary);
    color: white;
}

.leaderboard-tab:hover {
    background: var(--bg-light);
}

.leaderboard-tab.active:hover {
    background: var(--primary-dark);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0.75rem;
    }
    
    .streak-number {
        font-size: 3rem;
    }
    
    .login-container {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .calendar-day-dot {
        width: 28px;
        height: 28px;
    }
    
    .badge-wall {
        grid-template-columns: 1fr;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    #frameGrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 3.5rem;
    }
}

/* AI Tutor Feature Styles */
.ai-feature-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: 12px;
}

.ai-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.ai-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.ai-tab-content {
    display: none;
}

.ai-tab-content.active {
    display: block;
}

/* Chat Interface */
.chat-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 320px);
    min-height: 400px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-message,
.user-message {
    display: flex;
    animation: messageSlideIn 0.3s ease-out;
}

.user-message {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 0.875rem 1.125rem;
    border-radius: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

.ai-bubble {
    background: var(--bg-card);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.user-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    display: flex;
    padding: 1rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    gap: 0.5rem;
}

#chatInput {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 0.9375rem;
    background: white;
}

#chatInput:focus {
    outline: none;
    border-color: var(--primary);
}

.send-btn {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.875rem 1.125rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Study Planner */
.planner-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.planner-form h3 {
    margin-top: 0;
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0;
}

.study-plan-result {
    animation: fadeIn 0.3s ease-out;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-card);
}

.plan-header h3 {
    margin: 0;
}

.btn-secondary.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.plan-content {
    line-height: 1.7;
}

.plan-summary {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.weekly-plan {
    margin-top: 1.5rem;
}

.week-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.week-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.tips-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 8px;
}

.tips-section h4 {
    margin-bottom: 0.75rem;
}

.tips-section ul {
    margin-left: 1.5rem;
}

.tips-section li {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive adjustments for AI features */
@media (max-width: 480px) {
    .chat-container {
        height: calc(100vh - 280px);
    }
    
    .message-bubble {
        max-width: 90%;
    }
    
    .checkbox-list {
        grid-template-columns: 1fr;
    }
}

/* ========== TIMER STYLES ========== */

/* Subject Timer Card */
.subject-timer-section {
    margin-bottom: 1.5rem;
}

.subject-timer-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timer-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text);
}

.timer-total-badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.subject-timer-btn {
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.subject-timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.subject-timer-btn.timer-running {
    background: var(--warning);
    animation: timerPulse 2s infinite;
}

.timer-pulse {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6);
    }
}

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

/* Pomodoro Timer Styles */
#focus-timer {
    background: linear-gradient(180deg, #f3e5f5 0%, #e1bee7 100%);
    min-height: 100vh;
}

:root[data-theme="dark"] #focus-timer {
    background: linear-gradient(180deg, #2d1b3d 0%, #1e1333 100%);
}

.pomodoro-container {
    max-width: 500px;
    margin: 0 auto;
}

.pomodoro-mode-indicator {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pomodoro-mode-indicator span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
}

.pomodoro-timer-circle {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: var(--bg-card);
    stroke-width: 12;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s linear;
}

.timer-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.timer-time {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.timer-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pomodoro-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.timer-control-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.timer-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.timer-control-btn.secondary {
    background: var(--warning);
}

.timer-control-btn.secondary:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.timer-control-btn.danger {
    background: var(--danger);
}

.timer-control-btn.danger:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-icon {
    font-size: 1.25rem;
}

.pomodoro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pomodoro-stat {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.pomodoro-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.pomodoro-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.pomodoro-settings {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.pomodoro-settings h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.setting-item {
    margin-bottom: 1rem;
}

.setting-item label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.setting-item input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-top: 0;
}

/* Nature Sounds Section */
.nature-sounds-section {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.nature-sounds-section h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.nature-sounds-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.sound-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sound-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.sound-btn.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.sound-icon {
    font-size: 2rem;
}

.sound-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.sound-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sound-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sound-control-btn.playing {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.sound-control-icon {
    font-size: 1.25rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: 0.75rem;
}

.volume-icon {
    font-size: 1.25rem;
    min-width: 24px;
}

.volume-slider {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.volume-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 42px;
    text-align: right;
}

/* Bottom Navigation Adjustment for 6 items */
.bottom-nav {
    justify-content: space-between;
}

.nav-btn {
    min-width: 50px;
    flex: 1;
}

/* Responsive Timer Styles */
@media (max-width: 480px) {
    .pomodoro-timer-circle {
        width: 240px;
        height: 240px;
    }
    
    .progress-ring {
        width: 240px;
        height: 240px;
    }
    
    .progress-ring-bg,
    .progress-ring-fill {
        stroke-width: 10;
    }
    
    .timer-time {
        font-size: 2.5rem;
    }
    
    .timer-label {
        font-size: 0.875rem;
    }
    
    .pomodoro-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .timer-control-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pomodoro-stats {
        grid-template-columns: 1fr;
    }
    
    .subject-timer-btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
    }
}

/* Progress Overview Section */
.progress-overview {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.progress-overview-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overall-progress-bar-container {
    margin-bottom: 2rem;
}

.overall-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.overall-progress-percentage {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 1s ease-out;
}

.overall-progress-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.overall-progress-bar {
    background: var(--bg-light);
    height: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.overall-progress-fill {
    height: 100%;
    border-radius: 1rem;
    transition: width 1s ease-out, background 0.3s ease;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
    position: relative;
    overflow: hidden;
    animation: progressSlide 1s ease-out;
}

.overall-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes progressSlide {
    from {
        width: 0 !important;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 600px) {
    .overview-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.overview-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.overview-stat-card:nth-child(1) { animation-delay: 0.1s; }
.overview-stat-card:nth-child(2) { animation-delay: 0.2s; }
.overview-stat-card:nth-child(3) { animation-delay: 0.3s; }
.overview-stat-card:nth-child(4) { animation-delay: 0.4s; }

.overview-stat-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

.overview-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.overview-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.overview-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Subject Progress Section */
.subject-progress-section {
    margin-bottom: 2rem;
}

.subject-progress-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.subject-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.subject-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    animation: fadeInUp 0.6s ease-out backwards;
}

.subject-card:nth-child(1) { animation-delay: 0.1s; }
.subject-card:nth-child(2) { animation-delay: 0.2s; }
.subject-card:nth-child(3) { animation-delay: 0.3s; }
.subject-card:nth-child(4) { animation-delay: 0.4s; }
.subject-card:nth-child(5) { animation-delay: 0.5s; }
.subject-card:nth-child(6) { animation-delay: 0.6s; }
.subject-card:nth-child(7) { animation-delay: 0.7s; }

.subject-card.needs-attention {
    border-left-color: #ef4444;
}

.subject-card.in-progress {
    border-left-color: #eab308;
}

.subject-card.almost-done {
    border-left-color: #3b82f6;
}

.subject-card.completed {
    border-left-color: #22c55e;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.subject-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.subject-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subject-card-icon {
    font-size: 1.75rem;
}

.subject-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subject-card-body {
    margin-top: 1rem;
}

.subject-progress-bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subject-progress-bar {
    flex: 1;
    background: var(--bg-light);
    height: 0.875rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.subject-progress-fill {
    height: 100%;
    border-radius: 0.5rem;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
    animation: progressSlide 1s ease-out;
}

.subject-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.subject-progress-percentage {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    min-width: 3rem;
    text-align: right;
}

.subject-card-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.subject-card-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subject-card-stat-icon {
    font-size: 1.125rem;
}

.subject-card-stat-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.no-subjects {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    .progress-overview {
        padding: 1.5rem;
    }

    .progress-overview-title {
        font-size: 1.5rem;
    }

    .overall-progress-percentage {
        font-size: 2.5rem;
    }

    .overall-progress-bar {
        height: 1.5rem;
    }

    .overview-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .overview-stat-card {
        padding: 1rem;
    }

    .overview-stat-icon {
        font-size: 1.5rem;
    }

    .overview-stat-value {
        font-size: 1.25rem;
    }

    .overview-stat-label {
        font-size: 0.75rem;
    }

    .subject-card {
        padding: 1.25rem;
    }

    .subject-card-icon {
        font-size: 1.5rem;
    }

    .subject-card-name {
        font-size: 1rem;
    }

    .status-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.625rem;
    }

    .subject-card-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ========== THEME SETTINGS UI ========== */

/* Theme Settings Section */
.theme-settings {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.theme-settings h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.theme-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-option > span {
    font-weight: 500;
    color: var(--text);
}

/* iOS-style Toggle Switch */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s ease;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle input:checked + .toggle-slider {
    background-color: var(--primary);
}

.theme-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.theme-toggle input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Color Theme Grid */
.color-theme-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    max-width: 320px;
}

.color-theme-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-theme-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-theme-option.selected {
    border-color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-theme-option.selected::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Color Theme Preview Colors */
.color-theme-option[data-theme="blue"] {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.color-theme-option[data-theme="purple"] {
    background: linear-gradient(135deg, #a855f7, #c084fc);
}

.color-theme-option[data-theme="green"] {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.color-theme-option[data-theme="pink"] {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.color-theme-option[data-theme="orange"] {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.color-theme-option[data-theme="teal"] {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}

/* Responsive Theme Settings */
@media (max-width: 480px) {
    .color-theme-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
    
    .color-theme-option {
        width: 48px;
        height: 48px;
    }
}

/* SOCIAL FEATURES STYLES */

/* Social Sign-in Prompt */
.social-signin-prompt {
    margin-top: 2rem;
}

.prompt-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.prompt-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.prompt-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Social Content */
.social-content {
    margin-top: 1rem;
}

/* Class Section */
.class-section {
    margin-bottom: 2rem;
}

.class-section h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

/* No Class State */
.no-class-state {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
}

.info-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.class-form {
    margin-top: 1rem;
}

.class-code-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--bg-light);
    color: var(--text);
    margin-bottom: 1rem;
}

.class-code-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.class-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Has Class State */
.has-class-state {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
}

.class-info-card {
    width: 100%;
}

.class-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-info-header h4 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.class-code-display {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.class-code-display span {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-size: 1rem;
}

.btn-danger-small {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-small:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 1);
}

/* Classmates Section */
.classmates-section {
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    margin: 0;
}

.btn-secondary.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    width: auto;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.appreciation-count {
    background: var(--primary);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Classmates List */
.classmates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.classmate-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.classmate-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.classmate-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    flex-shrink: 0;
}

.classmate-info {
    flex: 1;
}

.classmate-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: var(--text);
}

.classmate-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Emoji Buttons */
.emoji-buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.emoji-btn {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.emoji-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.emoji-btn:active {
    transform: scale(0.95);
}

@media (max-width: 480px) {
    .emoji-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .emoji-btn {
        font-size: 1.25rem;
        padding: 0.5rem;
        min-height: 45px;
    }
}

/* Notification Badge on Nav Icon */
.notification-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--danger);
    color: white;
    border-radius: 10px;
    padding: 0.125rem 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

.nav-btn {
    position: relative;
}

/* Notifications Modal */
.notifications-modal {
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-header h2 {
    margin: 0;
}

.close-modal-btn {
    background: var(--bg-card);
    color: var(--text);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-modal-btn:hover {
    background: var(--border);
}

/* Notifications List */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-item {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--border);
    transition: all 0.2s;
}

.notification-item.unread {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary);
}

.notification-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-sender {
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.notification-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.no-notifications {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
    font-size: 1.125rem;
}

.error-text {
    color: var(--danger);
    text-align: center;
    padding: 1rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .btn-secondary.small {
        width: 100%;
        justify-content: center;
    }
    
    .class-actions {
        grid-template-columns: 1fr;
    }
    
    .class-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-danger-small {
        width: 100%;
    }
}
