/* Teen Mode Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9ff;
    color: #333;
    height: 100vh;
}

/* Header Styles */
.teen-header {
    background: linear-gradient(135deg, #6d5deb 0%, #8a63e8 100%);
    border-radius: 0 0 25px 25px;
    padding: 20px 16px 30px 16px;
    color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:active {
    transform: scale(0.98);
}

/* Navigation Bar */
.nav-container {
    background-color: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9ca3af;
    font-size: 10px;
    padding: 8px 0;
    transition: all 0.3s;
}

.nav-item.active {
    color: #6d5deb;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #6d5deb 0%, #8a63e8 100%);
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.btn-secondary {
    background-color: #eaecff;
    color: #6d5deb;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:active {
    transform: scale(0.98);
    background-color: #e0e2ff;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Recording button */
.record-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transition: all 0.2s;
}

.record-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
}

.record-btn.recording {
    animation: pulse 1.5s infinite;
}

/* Achievement badges */
.badge {
    width: 60px;
    height: 60px;
    background-color: #f3f4ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d5deb;
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
}

.badge.completed::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    background-color: #4ade80;
    border-radius: 50%;
    border: 2px solid white;
}

/* Emotions */
.emotion-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.emotion-happy {
    background-color: #ecfdf5;
    color: #10b981;
}

.emotion-sad {
    background-color: #eff6ff;
    color: #3b82f6;
}

.emotion-angry {
    background-color: #fef2f2;
    color: #ef4444;
}

.emotion-anxious {
    background-color: #fffbeb;
    color: #f59e0b;
}

/* Progress bars */
.progress-bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #6d5deb 0%, #8a63e8 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
  
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
  
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
} 