/* Settings Sayfası için Özel CSS */

/* Navbar stilleri */
.navbar {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1030;
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Sol menü (sidebar) stilleri */
.settings-sidebar {
    position: sticky;
    top: 90px; /* Navbar'ın altında kalması için */
    height: calc(100vh - 90px);
    overflow-y: auto;
    transition: all 0.3s ease;
}

.settings-sidebar::-webkit-scrollbar {
    width: 5px;
}

.settings-sidebar::-webkit-scrollbar-track {
    background: var(--background);
}

.settings-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 20px;
}

.settings-sidebar .settings-card {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.settings-sidebar .settings-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Ana içerik alanı stilleri */
.settings-content {
    padding: 1.5rem;
}

.settings-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.settings-card .card-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
}

/* Karanlık mod için özel düzenlemeler */
[data-theme="dark"] .settings-sidebar::-webkit-scrollbar-thumb {
    background-color: #4b5563;
}

[data-theme="dark"] .settings-card {
    background-color: var(--card-bg);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .settings-sidebar {
        position: relative;
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    body {
        padding-top: 56px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Rezervasyon kartları için gelişmiş stiller */
.reservation-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    border: none;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding: 1.5rem;
}

.reservation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.reservation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.reservation-card h5 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.reservation-card h5::after {
    content: '';
    display: block;
    height: 1px;
    flex-grow: 1;
    margin-left: 10px;
    background: linear-gradient(to right, var(--border-color) 50%, transparent);
    opacity: 0.5;
}

.reservation-card p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.reservation-card p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.reservation-card .badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.reservation-card .text-primary {
    font-weight: 700;
    font-size: 1.25rem;
}

.reservation-card .btn-group {
    margin-top: 1rem;
}

.reservation-card .btn {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reservation-card .btn-primary {
    background: var(--primary-color);
    border: none;
}

.reservation-card .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reservation-card .btn-danger {
    background: var(--danger-color);
    border: none;
}

.reservation-card .btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Karanlık mod uyarlamaları */
[data-theme="dark"] .reservation-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .reservation-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Profil sayfası özellikleri */
.profile-card {
    border-radius: 16px;
    overflow: hidden;
    padding: 1.5rem;
}

.profile-header {
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-image-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.image-upload-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.profile-image-container:hover .image-upload-overlay {
    opacity: 1;
}

.upload-icon {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 1rem 0;
}

.profile-name {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.profile-name:empty::before {
    content: 'Kullanıcı';
    opacity: 0.6;
}

.profile-stats {
    display: flex;
    margin-bottom: 1rem;
    gap: 2rem;
}

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

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

.stat-label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-badges .badge {
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    font-size: 0.8rem;
}

.profile-bio {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.bio-header {
    margin-bottom: 0.75rem;
}

.bio-header h5 {
    margin-bottom: 0;
    font-weight: 600;
}

.edit-bio {
    color: var(--primary-color);
    padding: 0;
    font-size: 0.9rem;
}

.bio-content {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Karanlık mod uyarlamaları */
[data-theme="dark"] .profile-image-container {
    border-color: var(--primary-color);
}

[data-theme="dark"] .profile-bio {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

/* Responsive ayarlamalar */
@media (max-width: 767px) {
    .profile-header .row {
        flex-direction: column;
    }
    
    .profile-image-container {
        margin-bottom: 1.5rem;
    }
    
    .profile-info {
        text-align: center;
        padding: 0;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-badges {
        justify-content: center;
    }
    
    .profile-name {
        font-size: 1.25rem;
        text-align: center;
    }
}

/* Kişisel bilgiler formu için şık stiller */
.styled-form .form-group-hover {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 1.5rem;
}

.styled-form .form-group-hover:hover {
    background-color: var(--hover-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.styled-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.styled-form .input-group:focus-within {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.styled-form .input-group-text {
    background-color: var(--primary-color);
    border: none;
    color: white;
    width: 48px;
    display: flex;
    justify-content: center;
}

.styled-form .form-control {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.styled-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 74, 173, 0.25);
}

.styled-form .form-control:invalid {
    border-color: #dc3545;
}

.styled-form .form-control:valid {
    border-color: #28a745;
}

.styled-form .form-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.styled-form .form-group-hover:hover .form-label {
    color: var(--primary-color);
}

.gender-selector {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10px;
}

.form-check-inline {
    margin-right: 1.5rem;
}

.form-check-input {
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    padding-left: 0.25rem;
}

.save-profile-btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.save-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Karanlık mod ayarlamaları */
[data-theme="dark"] .styled-form .input-group-text {
    background-color: var(--primary-color);
}

[data-theme="dark"] .styled-form .form-control {
    background-color: var(--input-bg);
    color: var(--text-color);
}

.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Çocuklar sekmesi için stiller */
.kids-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.kids-empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.kids-empty-state h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.kids-empty-state p {
    color: var(--text-secondary, #6c757d);
    text-align: center;
    max-width: 450px;
}

.kids-empty-state button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kids-empty-state button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Çocuklar tablosu için stiller */
#kids-content .table {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-collapse: collapse;
}

#kids-content .table th {
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--card-bg-darker);
    border-color: var(--border-color);
}

#kids-content .table td {
    color: var(--text-color);
    border-color: var(--border-color);
    background-color: var(--card-bg);
}

#kids-content .table tr {
    background-color: var(--card-bg);
}

#kids-content .table tr:hover {
    background-color: var(--hover-bg);
}

#kids-content .btn-group {
    display: flex;
    gap: 0.5rem;
}

#kids-content .btn-group .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

#kids-content .btn-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#kids-content .btn-group .btn i {
    font-size: 1rem;
}

/* Karanlık mod uyarlamaları */
[data-theme="dark"] .kids-empty-state {
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .kids-empty-state i {
    color: var(--primary-color);
}

[data-theme="dark"] .kids-empty-state h4 {
    color: #f8f9fa;
}

[data-theme="dark"] .kids-empty-state p {
    color: #adb5bd;
}

/* Karanlık modda tablo özel stilleri */
[data-theme="dark"] #kids-content .table {
    background-color: #1a2234 !important; /* Koyu lacivert */
    color: #f8f9fa;
    border-color: #2c3440;
}

[data-theme="dark"] #kids-content .table tr {
    background-color: #1a2234 !important; /* Koyu lacivert */
}

[data-theme="dark"] #kids-content .table td {
    background-color: #1a2234 !important; /* Koyu lacivert */
    color: #f8f9fa !important;
    border-color: #2c3440 !important;
}

[data-theme="dark"] #kids-content .table-light,
[data-theme="dark"] #kids-content .table-light th {
    background-color: #111927 !important; /* Daha koyu lacivert */
    color: #f8f9fa !important;
    border-color: #2c3440 !important;
}

[data-theme="dark"] #kids-content .table th {
    background-color: #111927 !important; /* Daha koyu lacivert */
    color: #f8f9fa !important;
    border-color: #2c3440 !important;
}

[data-theme="dark"] #kids-content .table tr:hover {
    background-color: #233044 !important; /* Hover için daha açık lacivert */
}

[data-theme="dark"] #kids-content .btn-outline-primary {
    color: #90caf9;
    border-color: #5c8fee;
    background-color: rgba(92, 143, 238, 0.1);
}

[data-theme="dark"] #kids-content .btn-outline-primary:hover {
    background-color: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
}

[data-theme="dark"] #kids-content .btn-outline-danger {
    color: #f48fb1;
    border-color: #e63553;
    background-color: rgba(230, 53, 83, 0.1);
}

[data-theme="dark"] #kids-content .btn-outline-danger:hover {
    background-color: #8b1c2c;
    color: #fff;
    border-color: #8b1c2c;
} 