/* Admin Panel Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Veli Eşleştirme Stilleri */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-secondary {
    background: #64748b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
}

.btn-info {
    background: #0891b2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: #0e7490;
    transform: translateY(-2px);
}

/* Öğrenci Tablosu Stilleri */
.student-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #fef2f2;
    color: #dc2626;
}

.no-parent {
    color: #dc2626;
    font-style: italic;
    font-size: 0.875rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Veli Eşleştirme Modal Stilleri */
#assignParentModal .modal {
    max-width: 500px;
}

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

#assignParentModal label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

#assignParentModal select,
#assignParentModal textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

#assignParentModal textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Dashboard Veli Eşleştirme Kartı */
.parent-assignment-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.parent-assignment-card .stat-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.parent-assignment-card .assigned {
    color: #a7f3d0;
}

.parent-assignment-card .unassigned {
    color: #fca5a5;
}

/* Öğrenci Form Stilleri */
.student-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.student-form .form-group:last-child {
    grid-column: 1 / -1;
}

/* Devam Takibi Stilleri */
.student-attendance-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: white;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.student-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.attendance-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.attendance-option {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.attendance-option input[type="radio"] {
    margin: 0;
}

.attendance-note {
    flex: 1;
    max-width: 200px;
}

.attendance-note input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

/* Devam Takibi Özeti */
.attendance-summary {
    margin: 20px 0;
}

.attendance-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    min-width: 200px;
}

.summary-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.summary-card h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

/* Program Takvimi Stilleri */
.schedule-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.schedule-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.schedule-calendar {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.day-header {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #374151;
    border-right: 1px solid #e2e8f0;
}

.day-header:last-child {
    border-right: none;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.day-cell {
    min-height: 120px;
    padding: 0.5rem;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.day-cell:last-child {
    border-right: none;
}

.day-date {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: center;
}

.day-sessions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.session-item {
    background: #8b0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-align: center;
}

.session-time {
    font-weight: 600;
}

.session-duration {
    opacity: 0.9;
}

.session-type {
    font-style: italic;
}

.attendance-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.attendance-badge.status-present {
    background: #dcfce7;
    color: #166534;
}

.attendance-badge.status-absent {
    background: #fef2f2;
    color: #dc2626;
}

.attendance-badge.status-late {
    background: #fffbeb;
    color: #92400e;
}

.attendance-badge.status-excused {
    background: #f1f5f9;
    color: #64748b;
}

.schedule-summary {
    margin-top: 2rem;
}

.summary-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.summary-card h3 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.stat-label {
    font-weight: 500;
    color: #64748b;
}

.stat-value {
    font-weight: 600;
    color: #1e293b;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #8b0000 0%, #660000 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0 25px 25px 0;
    margin-right: 1rem;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: 16px;
    opacity: 0.9;
}

.sidebar-nav li.active a {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-nav i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Main Content */

/* Öğrenci Seçimi */
.students-selection {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.students-selection h3 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.students-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.student-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.student-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.student-item.active {
    border-color: #8b0000;
    background: #fef2f2;
}

.student-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.student-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #1e293b;
}

.student-info p {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* Devam Durumu */
.attendance-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.attendance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.attendance-item.status-present {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.attendance-item.status-absent {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.attendance-item.status-late {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.attendance-item.status-excused {
    background: #f8fafc;
    border-left-color: #64748b;
}

.attendance-date {
    font-weight: 500;
    color: #1e293b;
}

.attendance-status {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.attendance-note {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Ödemeler */
.payments-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.payment-item.status-paid {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.payment-item.status-pending {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.payment-item.status-overdue {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.payment-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.payment-date, .payment-amount, .payment-type, .payment-status {
    font-weight: 500;
}

.payment-amount {
    color: #8b0000;
    font-weight: 600;
}

.payment-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Antrenör Yorumları */
.comment-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

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

.coach-name {
    font-weight: 600;
    color: #8b0000;
}

.comment-date {
    font-size: 0.875rem;
    color: #64748b;
}

.comment-text {
    color: #1e293b;
    line-height: 1.6;
}

/* Genel Stiller */
.no-data {
    text-align: center;
    color: #64748b;
    padding: 2rem;
    font-style: italic;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.no-students-message {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.no-students-message i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.no-students-message h3 {
    margin-bottom: 1rem;
    color: #475569;
}
.main-content {
    flex: 1;
    margin-left: 280px;
    transition: all 0.3s ease;
}

/* Header */
.header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #f1f5f9;
    color: #8b0000;
}

#page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    width: 300px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.notifications {
    position: relative;
    padding: 0.75rem;
    border-radius: 50%;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notifications:hover {
    background: #e2e8f0;
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.user-menu:hover {
    background: #e2e8f0;
}

.user-menu img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Duplicate dropdown styles removed - using the updated ones at the end of file */

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #8b0000;
}

.dropdown-item i {
    width: 16px;
    color: #6b7280;
}

.dropdown-item:hover i {
    color: #8b0000;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

/* Parent Dashboard Specific Styles */
.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.child-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.child-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.15);
}

.child-photo {
    text-align: center;
    margin-bottom: 1rem;
}

.child-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #8b0000;
}

.child-info h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.child-age, .child-program, .child-team {
    color: #64748b;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.child-stats {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.child-stats .stat {
    font-size: 0.85rem;
    color: #374151;
}

.child-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.payment-summary {
    margin-bottom: 2rem;
}

.payment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
    text-align: center;
}

.payment-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b0000;
    margin: 1rem 0;
}

.payment-due {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.attendance-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.schedule-grid {
    display: grid;
    gap: 1.5rem;
}

.schedule-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    background: #8b0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.schedule-info strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.schedule-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
}

.message-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.message-content h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.message-content p {
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.message-time {
    color: #94a3b8;
    font-size: 0.8rem;
}

.message-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.message-status.unread {
    background: #8b0000;
}

.profile-grid {
    display: grid;
    gap: 1.5rem;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.profile-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.paid {
    background: #dcfce7;
    color: #166534;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.overdue {
    background: #fee2e2;
    color: #dc2626;
}

/* Content */
.content {
    padding: 2rem;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b0000, #dc143c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.stat-content h3 {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.stat-change.positive {
    background: #dcfce7;
    color: #166534;
}

.stat-change.negative {
    background: #fef2f2;
    color: #dc2626;
}

.stat-change.neutral {
    background: #f1f5f9;
    color: #64748b;
}

/* Charts */
.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.chart-card h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

.chart-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
    color: #94a3b8;
}

/* Recent Activities */
.recent-activities {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.recent-activities h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b0000, #dc143c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.activity-content h4 {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.activity-content p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.activity-time {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #8b0000;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #8b0000, #dc143c);
}

.btn-secondary {
    background: #64748b;
}

.btn-danger {
    background: #ef4444;
}

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

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

/* Tables */
.table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
}

.data-table tr:hover {
    background: #f8fafc;
}

/* Grids */
.coaches-grid,
.teams-grid,
.programs-grid,
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.coach-card,
.team-card,
.program-card,
.tournament-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.coach-card {
    cursor: pointer;
    position: relative;
}

.coach-card:hover,
.team-card:hover,
.program-card:hover,
.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.15);
}

/* Coach Card */
.coach-photo {
    text-align: center;
    margin-bottom: 1rem;
}

.coach-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #8b0000;
    object-fit: cover;
}

.coach-info h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.coach-title {
    text-align: center;
    color: #8b0000;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    background: rgba(139, 0, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

.coach-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.coach-info p i {
    color: #8b0000;
    width: 16px;
    font-size: 0.8rem;
}

.coach-info p:last-child {
    margin-bottom: 1rem;
}



.coach-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Team Card */
.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.team-header h3 {
    color: #1e293b;
    font-weight: 600;
}

.team-age {
    background: #8b0000;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.team-stats .stat {
    text-align: center;
}

.team-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b0000;
}

.team-stats .label {
    font-size: 0.8rem;
    color: #64748b;
}

.team-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Program Card */
.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.program-header h3 {
    color: #1e293b;
    font-weight: 600;
}

.program-price {
    background: #8b0000;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.program-details p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.program-details strong {
    color: #1e293b;
}

.program-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Tournament Card */
.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tournament-header h3 {
    color: #1e293b;
    font-weight: 600;
}

.tournament-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tournament-status.upcoming {
    background: #ffe6e6;
    color: #8b0000;
}

.tournament-status.ongoing {
    background: #dcfce7;
    color: #166534;
}

.tournament-status.completed {
    background: #f1f5f9;
    color: #64748b;
}

.tournament-details p {
    margin-bottom: 0.5rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tournament-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Attendance */
.attendance-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: end;
}

.date-picker input {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Payment Stats */
.payment-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Filter Panel */
.filter-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #495057;
    font-size: 14px;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reports */
.report-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.report-card h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.settings-card h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #64748b;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-help {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #8b0000;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.notification.success {
    background-color: #10b981;
}

.notification.error {
    background-color: #ef4444;
}

.notification.info {
    background-color: #3b82f6;
}

.notification.warning {
    background-color: #f59e0b;
}

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

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

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    color: #1e293b;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #8b0000;
}

.modal-body {
    padding: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .search-box input {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .coaches-grid,
    .teams-grid,
    .programs-grid,
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-right {
        gap: 0.5rem;
    }
    
    .search-box {
        display: none;
    }
    
    .user-menu span {
        display: none;
    }
    
    .modal {
        width: 95%;
        margin: 1rem;
    }
    
        .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

/* Icon Styles */
.fas, .far, .fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Button Icons */
.btn i {
    margin-right: 0.5rem;
}

/* Header Icons */
.header i {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Card Icons */
.card i {
    opacity: 0.8;
}

/* Notification Icon */
.notification-icon {
    position: relative;
}

.notification-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #dc143c;
    border-radius: 50%;
}

/* User Dropdown Styles */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}

.user-dropdown .dropdown-item:hover {
    background: #f8fafc;
    color: #8b0000;
}

.user-dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.user-menu {
    position: relative;
}

/* Seans satırları için stil */
.session-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8fafc;
}

.session-row select,
.session-row input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
}

.session-row select[name="dayOfWeek[]"] {
    flex: 0 0 120px;
}

.session-row input[type="time"] {
    flex: 0 0 100px;
}

.session-row input[type="text"] {
    flex: 2;
}

.session-row button {
    flex: 0 0 auto;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

#sessionsContainer {
    margin-bottom: 1rem;
}

#sessionsContainer button[onclick="addSession()"] {
    margin-top: 0.5rem;
    width: 100%;
} 
/* ===== RESPONSIVE TASARIM ===== */

/* Varsay�lan (desktop) */
.sidebar-toggle {
    display: none;
}

/* Off-canvas iskelet (�imdilik kapal�) */
@media (max-width: 1024px){
    .sidebar-toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: 8px;
        border: 0;
        background: transparent;
        font-size: 22px;
        cursor: pointer;
        color: #8b0000;
    }
    
    .sidebar{
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 1000;
        background: #8b0000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    /* .sidebar.active{ transform:none; } */   /*  YAYINDA A�ILACAK */
    
    .overlay{
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 999;
        display: none; /*  YAYINDA block yap�lacak */
    }
    
    /* body.menu-open{ overflow:hidden; } */   /*  YAYINDA A�ILACAK */
}

/* Kart grid */
.cards{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Tablolar */
.table-wrapper{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table{
    min-width: 640px;
}

@media (max-width: 480px){
    .table-stack thead{
        display: none;
    }
    
    .table-stack tr{
        display: block;
        margin-bottom: 12px;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 12px;
        background: #f8fafc;
    }
    
    .table-stack td{
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .table-stack td:last-child{
        border-bottom: none;
    }
}

/* Form grid */
.form-grid{
    display: grid;
    gap: 12px;
}

@media (min-width: 768px){
    .form-grid{
        grid-template-columns: 1fr 1fr;
    }
}

/* Touch hedefleri + focus */
.btn, .nav a, .sidebar a{
    min-width: 44px;
    min-height: 44px;
    padding: 10px 14px;
}

:focus-visible{
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* G�rsel/Chart */
img, canvas{
    max-width: 100%;
    height: auto;
}

.chart-card{
    min-height: 260px;
}

.chart-card canvas{
    width: 100% !important;
    height: 100% !important;
}

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce){
    *{
        animation: none !important;
        transition: none !important;
    }
}

/* ===== VELİ PANELİ STİLLERİ ===== */

/* Notification Container */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid #007bff;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 18px;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
}

.notification-close:hover {
    color: #333;
}

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

/* Student Selector */
.student-selector {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.student-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.student-selector select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.student-selector select:focus {
    outline: none;
    border-color: #007bff;
}

/* Quick Actions */
.quick-actions {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-actions h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.action-btn:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-btn i {
    font-size: 24px;
    color: #007bff;
}

.action-btn span {
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Children Grid */
.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.child-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.child-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.child-card.selected {
    border-color: #007bff;
    background: #f8f9ff;
}

.child-photo {
    text-align: center;
    margin-bottom: 16px;
}

.child-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e1e5e9;
}

.child-info h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
}

.child-age, .child-program {
    margin: 4px 0;
    color: #666;
    font-size: 14px;
}

.child-stats {
    margin-top: 12px;
}

.child-stats .stat {
    display: block;
    margin: 4px 0;
    font-size: 13px;
    color: #555;
}

.child-actions {
    margin-top: 16px;
    text-align: center;
}

/* Attendance Grid */
.attendance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.attendance-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e1e5e9;
}

.attendance-card.present {
    border-left-color: #28a745;
    background: #f8fff9;
}

.attendance-card.absent {
    border-left-color: #dc3545;
    background: #fff8f8;
}

.attendance-card.late {
    border-left-color: #ffc107;
    background: #fffef8;
}

.attendance-card.excused {
    border-left-color: #6c757d;
    background: #f8f9fa;
}

.attendance-date {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.attendance-status {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.attendance-note {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

/* Payments Table */
.payments-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.payments-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e5e9;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
}

.payment-row:hover {
    background: #f8f9fa;
}

.payment-row.paid {
    background: #f8fff9;
}

.payment-row.pending {
    background: #fffef8;
}

.payment-row.overdue {
    background: #fff8f8;
}

/* Schedule Calendar */
.schedule-calendar {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.day-header {
    padding: 16px 8px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #e1e5e9;
}

.day-header:last-child {
    border-right: none;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.day-cell {
    min-height: 120px;
    padding: 12px 8px;
    border-right: 1px solid #f1f3f4;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
}

.day-cell:last-child {
    border-right: none;
}

.day-date {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.day-sessions {
    min-height: 80px;
}

.session-item {
    background: #e3f2fd;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #2196f3;
}

.session-time {
    font-size: 12px;
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 4px;
}

.session-info strong {
    font-size: 13px;
    color: #333;
}

.session-info p {
    font-size: 11px;
    color: #666;
    margin: 2px 0 0 0;
}

.attendance-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.attendance-badge.present {
    background: #28a745;
}

.attendance-badge.absent {
    background: #dc3545;
}

.attendance-badge.late {
    background: #ffc107;
    color: #333;
}

.attendance-badge.excused {
    background: #6c757d;
}

/* Schedule Summary */
.schedule-summary {
    margin-top: 24px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 18px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.summary-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-label {
    font-weight: 500;
    color: #666;
}

.stat-value {
    font-weight: 600;
    color: #333;
}

/* Comments Grid */
.comments-grid {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.comment-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f4;
}

.comment-coach {
    font-weight: 600;
    color: #333;
}

.comment-date {
    font-size: 14px;
    color: #666;
}

.comment-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.comment-rating {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.profile-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-card h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f3f4;
}

.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: border-color 0.3s ease;
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.profile-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-spinner i {
    font-size: 32px;
    margin-bottom: 16px;
    color: #007bff;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .children-grid {
        grid-template-columns: 1fr;
    }
    
    .attendance-grid {
        grid-template-columns: 1fr;
    }
    
    .week-grid {
        grid-template-columns: 1fr;
    }
    
    .week-header {
        grid-template-columns: 1fr;
    }
    
    .payments-header,
    .payment-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header {
        padding: 16px;
    }
    
    .content {
        padding: 16px;
    }
}

/* ===== DASHBOARD GRAFİKLERİ ===== */

.dashboard-charts {
    margin: 30px 0;
}

.chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.chart-card h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.chart-card canvas {
    max-width: 100%;
    height: auto;
}

/* Responsive grafikler */
@media (max-width: 768px) {
    .chart-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .chart-card {
        padding: 15px;
    }
    
    .chart-card h3 {
        font-size: 14px;
    }
}

/* ===== GRAFİK RENKLERİ ===== */

.chart-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* ===== GRAFİK ANİMASYONLARI ===== */

.chart-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===== LOADING STATES ===== */

.chart-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
}

.chart-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== GRAFİK TOOLTIPS ===== */

.chart-tooltip {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
}

/* ===== GRAFİK RESPONSIVE ===== */

@media (max-width: 480px) {
    .dashboard-charts {
        margin: 20px 0;
    }
    
    .chart-card {
        padding: 15px 10px;
    }
    
    .chart-card canvas {
        height: 150px !important;
    }
}

/* ===== YENİ PROGRAM FORM STİLLERİ ===== */

/* Doğum Yılları Container */
.birth-years-container {
    margin-top: 10px;
}

.birth-years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f8fafc;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    background: #e2e8f0;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

/* Antrenman Programı Container */
.training-schedule-container {
    margin-top: 10px;
}

.training-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f8fafc;
}

.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
}

.time-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.time-group input[type="time"] {
    padding: 10px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.time-group input[type="time"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .birth-years-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .training-days {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .time-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .birth-years-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .training-days {
        grid-template-columns: 1fr;
    }
}

/* ===== DEVAM TAKİBİ SİSTEMİ STİLLERİ ===== */

/* Attendance Modal Actions */
.modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.left-actions, .right-actions {
    display: flex;
    gap: 10px;
}

/* Attendance Filters */
.attendance-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.attendance-filters .form-group {
    margin: 0;
}

.attendance-filters label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.attendance-filters select,
.attendance-filters input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.attendance-filters select:focus,
.attendance-filters input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.attendance-filters .btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Attendance Summary */
.attendance-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.summary-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.summary-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #111827;
}

.summary-value.present { color: #059669; }
.summary-value.absent { color: #dc2626; }
.summary-value.late { color: #d97706; }
.summary-value.excused { color: #7c3aed; }
.summary-value.injured { color: #ea580c; }

/* Students Attendance List */
.students-attendance-list {
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

.student-attendance-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.student-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}

.student-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 2px 0;
}

/* Attendance Options */
.attendance-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attendance-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.attendance-option:hover {
    background: #f3f4f6;
}

.attendance-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.attendance-option span {
    font-size: 14px;
    font-weight: 500;
}

.status-present { color: #059669; }
.status-absent { color: #dc2626; }
.status-late { color: #d97706; }
.status-excused { color: #7c3aed; }
.status-injured { color: #ea580c; }

/* Attendance Note */
.attendance-note input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

.attendance-note input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Error and No Students Messages */
.error-message, .no-students-message {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.error-message i, .no-students-message i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 15px;
}

.error-message p, .no-students-message p {
    margin: 5px 0;
    font-size: 16px;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.left-actions, .right-actions {
    display: flex;
    gap: 10px;
}

.left-actions .btn {
    background: #667eea;
    color: white;
}

.left-actions .btn:hover {
    background: #5a67d8;
}

.right-actions .btn {
    background: #10b981;
    color: white;
}

.right-actions .btn:hover {
    background: #059669;
}

/* Responsive Attendance */
@media (max-width: 768px) {
    .attendance-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .student-attendance-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .attendance-options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .left-actions, .right-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Programlar dropdown yazı rengi düzeltmesi */
#filterProgram {
    color: #000 !important;
    background-color: #1e3a8a !important;
    border: 1px solid #1e3a8a !important;
}

#filterProgram option {
    color: #000 !important;
    background-color: #1e3a8a !important;
}

#filterProgram option:hover {
    background-color: #ef4444 !important;
}

/* Seçili option görünümü için */
#filterProgram option:checked {
    background-color: #ef4444 !important;
    color: #fff !important;
}

/* Dropdown açıldığında seçili option */
#filterProgram option[selected] {
    background-color: #ef4444 !important;
    color: #fff !important;
}

/* ===== PROGRAM ARAMA STİLLERİ ===== */

/* Program arama container */
.filter-group .search-container {
    position: relative;
    width: 100%;
}

.filter-group .search-container input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: white;
    color: #000;
}

.filter-group .search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Program arama sonuçları */
#programSearchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

#programSearchResults.show {
    display: block;
}

/* Program avatar */
.program-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Program info */
.program-info {
    flex: 1;
}

.program-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.program-details {
    font-size: 12px;
    color: #6b7280;
}

/* ===== ÖĞRENCİ ARAMA STİLLERİ ===== */

/* Doğum yılı avatar */
.year-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #8b5cf6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Doğum yılı info */
.year-info {
    flex: 1;
}

.year-value {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.year-details {
    font-size: 12px;
    color: #6b7280;
}

/* ===== ÖĞRENCİ FİLTRE BUTONLARI ===== */

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.filter-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-actions .btn-primary {
    background: #3b82f6;
    color: white;
}

.filter-actions .btn-primary:hover {
    background: #2563eb;
}

.filter-actions .btn-success {
    background: #10b981;
    color: white;
}

.filter-actions .btn-success:hover {
    background: #059669;
}

.filter-actions .btn-secondary {
    background: #6b7280;
    color: white;
}

.filter-actions .btn-secondary:hover {
    background: #4b5563;
}

/* ===== İLETİŞİM MESAJLARI STİLLERİ ===== */

.contact-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-filters select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 14px;
    min-width: 150px;
}

.contact-filters select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.unread-message {
    background-color: #fef3c7 !important;
    font-weight: 600;
}

.unread-message:hover {
    background-color: #fde68a !important;
}

.status-read {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-unread {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-row label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.detail-row span {
    color: #6b7280;
    font-size: 14px;
}

.message-content {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    white-space: pre-wrap;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
}

/* İletişim mesajları tablosu */
#contactMessagesTableBody tr {
    transition: all 0.2s ease;
}

#contactMessagesTableBody tr:hover {
    background-color: #f8fafc;
}

#contactMessagesTableBody .btn {
    margin: 0 2px;
    padding: 4px 8px;
    font-size: 12px;
}

#contactMessagesTableBody .btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

/* Modal stilleri için iletişim mesajları */
.modal .contact-details {
    max-height: 400px;
    overflow-y: auto;
}

.modal .message-content {
    max-height: 200px;
    overflow-y: auto;
}

/* İletişim mesajı modal'ı için özel stiller */
#contactModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

#contactModal .modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

#contactModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

#contactModal .modal-header h3 {
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

#contactModal .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1;
}

#contactModal .close-btn:hover {
    background: #f1f5f9;
    color: #8b0000;
}

#contactModal .modal-body {
    padding: 2rem;
}

#contactModal .modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

#contactModal .contact-details {
    max-height: 400px;
    overflow-y: auto;
}

#contactModal .detail-row {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

#contactModal .detail-row label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    margin-right: 1rem;
}

#contactModal .detail-row span {
    color: #6b7280;
    flex: 1;
}

#contactModal .message-content {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 200px;
    overflow-y: auto;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .contact-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-filters select {
        min-width: auto;
        width: 100%;
    }
    
    .detail-row {
        flex-direction: column;
    }
}

