/* Base styles */
:root {
    --primary: #4f46e5;
    --primary-light: #eef2ff;
    --primary-dark: #4338ca;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, monospace;
}

/* Custom styling for daily plans */
.day-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.day-card.completed {
    border-color: #10b981;
}

.day-card.completed .day-number {
    background-color: #10b981;
    color: white;
}

.day-card.active {
    border-color: #4f46e5;
    border-width: 2px;
}

/* Progress indicator */
.progress-step {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.progress-step::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--gray-200);
    right: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.progress-step:first-child::after {
    display: none;
}

.progress-step.completed {
    background-color: var(--primary);
    color: white;
}

.progress-step.completed::after {
    background-color: var(--primary);
}

/* Dark mode */
.dark-mode {
    --primary: #818cf8;
    --primary-light: #1e1b4b;
    --primary-dark: #a5b4fc;
    background-color: #0f172a;
    color: #e2e8f0;
}

.dark-mode .bg-white {
    background-color: #1e293b;
    border-color: #334155;
}

.dark-mode .bg-gray-50 {
    background-color: #0f172a;
}

.dark-mode .text-gray-600,
.dark-mode .text-gray-500 {
    color: #94a3b8;
}

.dark-mode .text-gray-900 {
    color: #e2e8f0;
}

.dark-mode .border-gray-100,
.dark-mode .border-gray-200,
.dark-mode .border-gray-300 {
    border-color: #334155;
}

.dark-mode .shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dark-mode .bg-indigo-50 {
    background-color: #1e293b;
}

.dark-mode .bg-green-50,
.dark-mode .bg-blue-50,
.dark-mode .bg-purple-50,
.dark-mode .bg-orange-50 {
    background-color: #1e293b;
}

/* Practice sections styling */
.practice-section {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.reflection-question {
    background-color: var(--primary-light);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.dark-mode .reflection-question {
    background-color: #1e293b;
}

.technique-step {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.technique-step-number {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.dark-mode .technique-step-number {
    background-color: var(--primary-light);
}

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

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    header {
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .day-card {
        padding: 0.75rem;
    }
}
