/* ===== GENEL STILLER ===== */
:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --light: #f9fafb;
    --dark: #1f2937;
    --border: #e5e7eb;
}

/* Tüm elementlerde border-box kullan */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background-color: var(--light);
padding-bottom: 60px;
}
/* ===== NAVBAR ===== */
.navbar-brand {
font-size: 1.5rem;
}
/* ===== MOBIL CONTAINER ===== */
.mobile-container {
max-width: 600px;
margin: 0 auto;
padding: 1rem;
}
/* ===== GÜNLÜK BAŞLIK ===== */
.daily-header {
background: white;
border-radius: 12px;
padding: 1rem;
margin-bottom: 1rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.streak-badge {
background: linear-gradient(135deg, #ff6b6b, #ff8e53);
color: white;
padding: 0.75rem 1rem;
border-radius: 8px;
font-weight: 600;
text-align: center;
}
.motivation-card {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 1rem;
border-radius: 8px;
text-align: center;
font-style: italic;
}
.week-stats {
text-align: center;
padding: 0.5rem;
background: var(--light);
border-radius: 6px;
}
/* ===== SECTION TITLE ===== */
.section-title {
font-weight: 700;
font-size: 1.1rem;
color: var(--dark);
}
/* ===== EGZERSİZ KARTLARI ===== */
.exercise-card {
background: white;
border-radius: 12px;
padding: 1rem;
margin-bottom: 0.75rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.exercise-card:active {
transform: scale(0.98);
}
.form-check-input {
width: 2.5rem;
height: 1.25rem;
cursor: pointer;
}
.form-check-input:checked {
background-color: var(--success);
border-color: var(--success);
}
.exercise-details {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
}
.duration-slider {
cursor: pointer;
}
.duration-value {
font-weight: 700;
color: var(--primary);
}
/* ===== YILDIZ DEĞERLENDİRME ===== */
.star-rating {
display: flex;
gap: 0.5rem;
font-size: 1.5rem;
}
.star-rating .star {
color: #d1d5db;
cursor: pointer;
transition: all 0.2s ease;
}
.star-rating .star.active {
color: #fbbf24;
}
.star-rating .star:hover {
transform: scale(1.2);
}

/* ===== KONUŞMA KARTLARI ===== */
.conversation-card {
background: white;
border-radius: 12px;
padding: 1rem;
margin-bottom: 0.75rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* ===== DUYGUSAL DURUM ===== */
.mood-section {
background: white;
border-radius: 12px;
padding: 1rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.mood-emojis {
display: flex;
gap: 1rem;
justify-content: space-around;
}
.mood-btn {
flex: 1;
border: 2px solid var(--border);
background: white;
border-radius: 12px;
padding: 1rem 0.5rem;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.mood-btn i {
font-size: 2.5rem;
}
.mood-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
transform: scale(1.05);
}
.mood-btn:hover {
border-color: var(--primary);
}
/* ===== FOOTER ===== */
.footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
border-top: 1px solid var(--border);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
body {
font-size: 0.95rem;
}
.mobile-container {
    padding: 0.75rem;
}

.navbar-brand {
    font-size: 1.25rem;
}

.mood-btn i {
    font-size: 2rem;
}
}
/* ===== LOADING ===== */
.loading {
opacity: 0.6;
pointer-events: none;
}
/* ===== TERAPIST PANEL ===== */
.user-card {
background: white;
border-radius: 12px;
padding: 1rem;
margin-bottom: 1rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.user-card:hover {
box-shadow: 0 4px 6px rgba(0,0,0,0.15);
transform: translateY(-2px);
}


.stats-section {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats-section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.stat-box {
    background: var(--light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--dark);
    margin-top: 0.5rem;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Performance Cards */
.performance-card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
}

.performance-header {
    background: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--light);
}

.performance-body {
    padding: 0.75rem 1rem;
}

.perf-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.perf-row:last-child {
    border-bottom: none;
}

.perf-row.highlight {
    background: white;
    padding: 0.5rem;
    border-radius: 6px;
    margin: 0.25rem 0;
    border: none;
}

.perf-label {
    color: #6b7280;
    font-size: 0.9rem;
}

.perf-value {
    font-weight: 600;
    color: var(--dark);
}

/* Calendar */
.month-section {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.month-header {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    text-transform: capitalize;
}

.calendar-grid-full {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    padding: 0.25rem;
}

.calendar-day-full {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.calendar-day-full:not(.future):hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.calendar-day-full.empty {
    background: #f9fafb;
    color: #d1d5db;
}

.calendar-day-full.low {
    background: #ddd6fe;
    color: #7c3aed;
}

.calendar-day-full.medium {
    background: #c4b5fd;
    color: #6d28d9;
}

.calendar-day-full.high {
    background: #a78bfa;
    color: white;
}

.calendar-day-full.full {
    background: #8b5cf6;
    color: white;
}

.calendar-day-full.today {
    border: 2px solid #ef4444;
    font-weight: 700;
}

.calendar-day-full.future {
    background: #f9fafb;
    color: #e5e7eb;
    cursor: not-allowed;
}

.calendar-day-empty {
    aspect-ratio: 1;
}

.day-number {
    font-size: 0.85rem;
}

.day-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255,255,255,0.9);
    color: #6d28d9;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1;
}

.calendar-legend {
    background: var(--light);
    border-radius: 8px;
    padding: 0.75rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.legend-box.empty { background: #f9fafb; border: 1px solid #e5e7eb; }
.legend-box.low { background: #ddd6fe; }
.legend-box.medium { background: #c4b5fd; }
.legend-box.high { background: #a78bfa; }
.legend-box.full { background: #8b5cf6; }

/* Modal Detail */
.detail-summary {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
}

.summary-stat {
    flex: 1;
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.detail-exercise-item,
.detail-conversation-item {
    background: var(--light);
    border-radius: 8px;
    padding: 0.75rem;
}

.detail-mood {
    background: var(--light);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mood-item {
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
}

@media (max-width: 576px) {
    .calendar-grid-full {
        gap: 3px;
    }
    
    .calendar-day-full {
        font-size: 0.75rem;
    }
    
    .day-badge {
        font-size: 0.6rem;
        padding: 1px 3px;
    }
    
    .month-header {
        font-size: 0.85rem;
    }
    
    .legend-item {
        font-size: 0.75rem;
    }
}



/* Mevcut stiller + yeni recording stilleri */

.recording-timer {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.record-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

@keyframes recording-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

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

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.info-card {
    background: var(--light);
    border-radius: 8px;
    padding: 0.75rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #6b7280;
}

.info-value {
    font-weight: 600;
    color: var(--dark);
}

.form-control:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

/* ===== KAYITLAR SAYFASI ===== */
.recordings-header {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats-row {
    display: flex;
    gap: 1rem;
}

.stat-item {
    flex: 1;
    background: var(--light);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--dark);
    margin-top: 0.25rem;
}

/* Filtre Bölümü */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-card {
    background: var(--light);
    border-radius: 8px;
    padding: 1rem;
}

/* Kayıt Kartları */
.date-group {
    margin-bottom: 1.5rem;
}

.date-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--primary);
}

.recording-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.recording-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

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

.recording-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.recording-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.recording-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.recording-actions .btn {
    flex: 1;
    min-width: fit-content;
}

.recording-notes {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* Empty State */
.empty-state {
    background: white;
    border-radius: 12px;
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 1rem;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 576px) {
    .stats-row {
        gap: 0.5rem;
    }
    
    .stat-item .stat-value {
        font-size: 1.25rem;
    }
    
    .recording-actions {
        gap: 0.35rem;
    }
    
    .recording-actions .btn {
        font-size: 0.85rem;
        padding: 0.375rem 0.5rem;
    }
}