/* ============================================
   MINIMAL & CALM - APPLE-LIKE PREMIUM THEME
   ============================================ */

:root {
    --calm-primary: #4B89AC;
    /* soğuk premium mavi */
    --calm-secondary: #5BC0BE;
    /* yumuşak mint accent */
    --background-main: #FAFAFA;
    /* temiz beyaz-gri */
    --card-bg: #FFFFFF;
    /* sade kart arka planı */
    --border-soft: #EBEBEB;
    /* ince yumuşak çizgiler */
    --text-main: #333333;
    /* koyu gri */
    --text-soft: #555555;
    --text-light: #FFFFFF;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
    /* minimal shadow */
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

    /* Spacing System */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Dark Theme Additional Colors */
    --dark-bg-primary: #0f0f0f;
    --dark-bg-secondary: #1a1a1a;
    --dark-bg-tertiary: #252525;
    --dark-card-bg: #1e1e1e;
    --dark-border: #333333;
    --dark-text-primary: #f5f5f5;
    --dark-text-secondary: #b0b0b0;
    --dark-text-muted: #888888;
    --dark-accent: #60a5fa;
    --dark-accent-secondary: #6ee7b7;
    --dark-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --dark-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ============================================
   DARK THEME STYLES
   ============================================ */

html[data-theme="dark"],
html.dark-theme {
    --calm-primary: #60a5fa;
    --calm-secondary: #6ee7b7;
    --background-main: #0f0f0f;
    --card-bg: #1e1e1e;
    --border-soft: #333333;
    --text-main: #f5f5f5;
    --text-soft: #b0b0b0;
    --text-light: #ffffff;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Dark Theme HTML & Body */
html[data-theme="dark"],
html.dark-theme {
    background: var(--dark-bg-primary) !important;
    background-color: var(--dark-bg-primary) !important;
    min-height: 100vh;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html[data-theme="dark"] body,
html.dark-theme body {
    background: var(--dark-bg-primary) !important;
    background-color: var(--dark-bg-primary) !important;
    color: var(--dark-text-primary) !important;
    min-height: 100vh;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Dark Theme Transitions */
html,
body,
.navbar,
.container,
.card,
.teacher-card,
.search-section,
input,
select,
textarea,
button {
    transition: background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--background-main);
    background-color: var(--background-main);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--background-main);
    background-color: var(--background-main);
    color: var(--text-main);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Remove chalkboard texture */
body::before {
    display: none;
}

/* Utility Classes */
.text-main {
    color: var(--text-main);
}

.text-soft {
    color: var(--text-soft);
}

.text-light {
    color: var(--text-light);
}

.text-primary {
    color: var(--calm-primary);
}

.bg-white {
    background: var(--card-bg);
}

.bg-main {
    background: var(--background-main);
}

.border-soft {
    border-color: var(--border-soft);
}

.shadow-sm {
    box-shadow: var(--shadow-soft);
}

.round-md {
    border-radius: var(--radius-md);
}

/* Global Link Styles */
a {
    color: var(--calm-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--calm-secondary);
    text-decoration: none;
}

/* Global Heading Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Global Input Styles */
input,
textarea,
select {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-soft);
    opacity: 0.5;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--calm-primary);
    box-shadow: 0 0 0 3px rgba(75, 137, 172, 0.1);
}

/* Global Button Styles - Premium Contrast */
.btn {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: 0.2s ease;
    box-shadow: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--calm-primary) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(75, 137, 172, 0.2);
}

.btn-primary:hover {
    background: #3d7a9a !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(75, 137, 172, 0.3);
}

.btn-primary *,
.btn-primary span,
.btn-primary p {
    color: #FFFFFF !important;
}

.btn-secondary {
    background: var(--card-bg) !important;
    border: 1.5px solid var(--calm-primary) !important;
    color: var(--calm-primary) !important;
    font-weight: 600 !important;
}

.btn-secondary:hover {
    background: var(--calm-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--calm-primary) !important;
}

.btn-secondary:hover *,
.btn-secondary:hover span,
.btn-secondary:hover p {
    color: #FFFFFF !important;
}

.btn-soft {
    background: #E5E7EB !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
    border: 1px solid #D1D5DB !important;
}

.btn-soft:hover {
    background: #D1D5DB !important;
    color: #111827 !important;
}

.btn-soft *,
.btn-soft span,
.btn-soft p {
    color: inherit !important;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    color: var(--text-main);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    color: var(--text-soft);
}

/* Search Section */
.search-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    margin: 2rem 0;
    position: relative;
    z-index: 100;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-bar input,
.search-bar select {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--background-main);
    color: var(--text-main);
}

.search-bar button {
    padding: 0.8rem 2rem;
    background: var(--calm-primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.search-bar button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Filters */
.filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: var(--background-main);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--calm-primary);
    color: var(--text-light);
    border-color: var(--calm-primary);
}

/* Teachers Grid */
/* Premium Teachers Grid - 3 per row */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

/* Premium Teacher Card */
.teacher-card {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    border: 2px solid #E5E7EB;
    animation: fadeInUp 0.6s ease-out;
    height: auto;
    align-self: start;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2563EB 0%, #1E40AF 50%, #5BC0BE 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #2563EB;
}

.teacher-card:hover::before {
    opacity: 1;
}

.card-gradient-overlay {
    display: none;
}

.teacher-card-content {
    position: relative;
    z-index: 1;
}

/* Premium Teacher Header */
.teacher-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    position: relative;
    border-bottom: 2px solid #F3F4F6;
    background: linear-gradient(135deg, #FAFBFC 0%, #F8FAFC 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.teacher-header:hover {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.teacher-header-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    margin-left: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.teacher-header:hover .teacher-header-toggle {
    background: rgba(37, 99, 235, 0.2);
}

.toggle-icon {
    color: #2563EB;
    transition: transform 0.3s ease;
}

/* Açılır Kapanır Detaylar */
.teacher-details-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.teacher-details-collapsible.expanded {
    max-height: 2000px;
    opacity: 1;
}

/* Premium Avatar */
.teacher-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 1rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
    border: 2px solid #BFDBFE;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

.teacher-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    border-color: #2563EB;
}

.teacher-card:hover .teacher-avatar::before {
    opacity: 1;
}

.teacher-info {
    flex: 1;
    min-width: 0;
}

.teacher-info h3 {
    color: #1F2937;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.verified-badge-small {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.gold-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #1F2937 !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    font-size: 0.7rem !important;
}

.blue-badge {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 0.7rem !important;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Premium Teacher Meta */
.teacher-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 2px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rating-badge {
    background: linear-gradient(135deg, #FFF8E1 0%, #FEF3C7 100%);
    color: #D97706;
    border-color: #FDE68A;
}

.rating-badge svg {
    color: #D97706;
    filter: drop-shadow(0 1px 2px rgba(217, 119, 6, 0.2));
}

.location-badge {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #6B7280;
    border-color: #D1D5DB;
}

.location-badge svg {
    color: #6B7280;
}

.gender-badge {
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
    color: #DB2777;
    border-color: #F9A8D4;
}

/* Erkek için mavi renk */
.gender-badge.gender-male,
.gender-badge.gender-erkek {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0284C7;
    border-color: #7DD3FC;
}

/* Kız/Kadın için pembe renk */
.gender-badge.gender-female,
.gender-badge.gender-kadın {
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
    color: #DB2777;
    border-color: #F9A8D4;
}

/* Diğer için gri renk */
.gender-badge.gender-other,
.gender-badge.gender-diger,
.gender-badge.gender-diğer {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #6B7280;
    border-color: #D1D5DB;
}

.age-badge {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0284C7;
    border-color: #7DD3FC;
}

.lesson-type-badge {
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
    color: #7C3AED;
    border-color: #C4B5FD;
}

.meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #2563EB;
}

/* Premium Subjects Card */
.teacher-subjects-card {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-bottom: 2px solid #E5E7EB;
    position: relative;
}

.teacher-subjects-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563EB 0%, #1E40AF 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-subjects-card::before {
    opacity: 1;
}

.subject-tag-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    color: #1F2937;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.1px;
}

.subject-tag-card::before {
    content: none;
}

.subject-tag-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.subject-more-card {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #6B7280;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #D1D5DB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Premium Availability Card */
.teacher-availability-card {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-bottom: 2px solid #E5E7EB;
    position: relative;
}

.teacher-availability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563EB 0%, #1E40AF 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-availability-card::before {
    opacity: 1;
}

.availability-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.availability-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.availability-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2563EB;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.availability-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.day-badge-time {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    color: #1F2937;
    padding: 0.6rem 0.875rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 70px;
}

.time-range {
    font-size: 0.7rem;
    color: #6B7280;
    font-weight: 600;
}

.day-badge-time:hover {
    transform: translateY(-2px);
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.day-badge-more {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #6B7280;
    padding: 0.6rem 0.875rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #D1D5DB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Premium Specialties */
.teacher-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    min-height: auto;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-bottom: 2px solid #E5E7EB;
    position: relative;
}

.teacher-specialties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5BC0BE 0%, #4ECDC4 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-specialties::before {
    opacity: 1;
}

.specialty-tag-small {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    color: #6B7280;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.1px;
}

.specialty-tag-small::before {
    display: none;
}

.specialty-tag-small:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5BC0BE 0%, #4ECDC4 100%);
    color: white;
    border-color: #5BC0BE;
    box-shadow: 0 4px 12px rgba(91, 192, 190, 0.3);
}

.specialty-more {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #6B7280;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #D1D5DB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Premium Teacher Stats */
.teacher-stats-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.stat-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-modern:hover {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    transform: translateY(-2px);
    border-color: #BFDBFE;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.stat-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.stat-value-modern {
    font-weight: 800;
    color: #1F2937;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: -0.3px;
}

.stat-label-modern {
    font-size: 0.65rem;
    color: #6B7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Premium Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-top: 2px solid #E5E7EB;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #5BC0BE 0%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.6px;
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-view-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1E3A8A 100%) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 12px;
    font-weight: 800 !important;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 3px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-view-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-view-modern:hover::before {
    left: 100%;
}

.btn-view-modern:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 50%, #1E3A8A 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5), 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-view-modern:active {
    transform: translateY(-1px);
}

.btn-view-modern *,
.btn-view-modern span,
.btn-view-modern p {
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-view-modern svg {
    transition: transform 0.3s ease;
}

.btn-view-modern:hover svg {
    transform: translateX(4px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    padding: 0;
    border-radius: 28px;
    max-width: 900px;
    width: 92%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 8px 32px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 10;
}

.modal-body {
    overflow-y: auto;
    max-height: 90vh;
}

.close-modal {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.5rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-soft);
}

.close-modal:hover {
    background: white;
    transform: rotate(90deg);
}

/* Premium Modal Profile Hero */
.modal-profile-hero {
    position: relative;
    padding: 3rem 2.5rem 2.5rem;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #5BC0BE 100%);
    border-bottom: none;
    overflow: hidden;
}

.modal-profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.hero-gradient {
    display: none;
}

.modal-profile-hero .teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-profile-hero .teacher-avatar:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.15);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-info {
    color: #FFFFFF;
    flex: 1;
}

.teacher-name-modal {
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.meta-badge svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Premium Modal gender-meta renkleri */
.gender-meta.gender-male,
.gender-meta.gender-erkek {
    background: rgba(14, 165, 233, 0.2);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

.gender-meta.gender-female,
.gender-meta.gender-kadın {
    background: rgba(236, 72, 153, 0.2);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

.gender-meta.gender-other,
.gender-meta.gender-diger,
.gender-meta.gender-diğer {
    background: rgba(156, 163, 175, 0.2);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Premium Modal Profile Content */
.modal-profile-content {
    padding: 2.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
}

.profile-section {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 20px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563EB 0%, #1E40AF 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-section:hover {
    border-color: #BFDBFE;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.profile-section:hover::before {
    opacity: 1;
}

.section-icon {
    font-size: 1.75rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 16px;
    color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    border: 2px solid #BFDBFE;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-section:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.section-content {
    flex: 1;
    min-width: 0;
}

.section-title {
    color: #1F2937;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #1F2937 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text,
.bio-text {
    color: #6B7280;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Premium Tags in Modal */
.subjects-grid-modal,
.specialties-grid-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.subject-tag-modal,
.specialty-tag-modal {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    color: #1F2937;
    padding: 0.6rem 1.125rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.1px;
}

.subject-tag-modal:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border-color: #2563EB;
}

.specialty-tag-modal:hover {
    background: linear-gradient(135deg, #5BC0BE 0%, #4ECDC4 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 192, 190, 0.3);
    border-color: #5BC0BE;
}

/* Premium Availability Modal */
.availability-list-modal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.availability-item-modal {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.availability-item-modal:hover {
    border-color: #2563EB;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.avail-day {
    color: #1F2937;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
}

.avail-time {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    letter-spacing: 0.2px;
}

/* Premium Modal Footer */
.modal-footer-actions {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-top: 2px solid #E5E7EB;
}

.price-display {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #E5E7EB;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.price-value-modal {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #5BC0BE 0%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
    line-height: 1;
}

.price-unit {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 600;
    margin-left: 0.25rem;
}

.btn-modal-action {
    border-radius: 12px;
    box-shadow: none;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
}

.btn-modal-action::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-modal-action:hover::before {
    width: 300px;
    height: 300px;
}

.btn-message {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1E3A8A 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3), 0 2px 8px rgba(37, 99, 235, 0.2);
    letter-spacing: 0.3px;
}

.btn-message:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 50%, #1E3A8A 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-message:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-message svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.btn-message:hover svg {
    transform: translateX(3px);
}

.btn-message *,
.btn-message span,
.btn-message p {
    color: #FFFFFF !important;
    position: relative;
    z-index: 1;
}

.action-buttons-modal {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-book {
    background: var(--calm-primary) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(75, 137, 172, 0.2);
}

.btn-book:hover {
    background: #3d7a9a !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(75, 137, 172, 0.3);
}

.btn-book *,
.btn-book span,
.btn-book p {
    color: #FFFFFF !important;
}

/* Auth Modal */
.auth-modal-content {
    max-width: 600px;
    width: 90%;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-modal-header {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: transparent !important;
    color: var(--text-main) !important;
    border: none !important;
    padding: 0 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    z-index: 10 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}

.auth-modal-header h2 {
    color: var(--text-main) !important;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1F2937 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-close-modal {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%) !important;
    border: 2px solid #E5E7EB !important;
    color: #6B7280 !important;
    font-size: 1.75rem !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.auth-close-modal:hover {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    border-color: #DC2626 !important;
    color: #FFFFFF !important;
    transform: rotate(90deg) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3), 0 2px 6px rgba(239, 68, 68, 0.2);
}

.auth-close-modal:active {
    transform: rotate(90deg) scale(0.95) !important;
}

.auth-form input,
.auth-form select {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
}

.auth-form input::placeholder {
    color: var(--text-soft);
    opacity: 0.5;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--calm-primary);
    box-shadow: 0 0 0 3px rgba(75, 137, 172, 0.1);
    outline: none;
}

.user-type-card {
    background: var(--background-main);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
}

.user-type-card:hover {
    border-color: var(--calm-primary);
    background: white;
}

.user-type-card.selected {
    background: var(--calm-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--calm-primary) !important;
}

.user-type-card.selected *,
.user-type-card.selected h4,
.user-type-card.selected p,
.user-type-card.selected .icon {
    color: #FFFFFF !important;
}

.btn-submit {
    padding: 12px 24px;
    background: var(--calm-primary) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(75, 137, 172, 0.2);
}

.btn-submit:hover {
    background: #3d7a9a !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(75, 137, 172, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #9CA3AF !important;
    color: #FFFFFF !important;
}

.btn-submit *,
.btn-submit span,
.btn-submit p {
    color: #FFFFFF !important;
}

/* Auth Modal Body */
.auth-modal-body {
    padding: 2rem;
    max-height: calc(92vh - 80px);
    overflow-y: auto;
}

.auth-modal-body::-webkit-scrollbar {
    width: 8px;
}

.auth-modal-body::-webkit-scrollbar-track {
    background: var(--background-main);
    border-radius: 10px;
}

.auth-modal-body::-webkit-scrollbar-thumb {
    background: var(--calm-primary);
    border-radius: 10px;
}

.auth-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--calm-primary);
    filter: brightness(1.1);
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: inherit;
}

.form-group input::placeholder {
    color: var(--text-soft);
    opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--calm-primary);
    box-shadow: 0 0 0 3px rgba(75, 137, 172, 0.1);
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: #F9FAFB;
    cursor: not-allowed;
    opacity: 0.6;
}

.user-type-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.user-type-card {
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--background-main);
}

.user-type-card:hover {
    border-color: var(--calm-primary);
    background: white;
}

.user-type-card.selected {
    border-color: var(--calm-primary);
    background: var(--calm-primary);
    color: white;
}

.user-type-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.user-type-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.user-type-card p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.user-type-card.selected p {
    opacity: 1;
}

.vkn-query-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.vkn-query-wrapper input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 14px;
    background: var(--background-main);
    color: var(--text-primary, #1f2937);
    transition: border-color 0.2s;
}

.vkn-query-wrapper input:focus {
    outline: none;
    border-color: var(--calm-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-vkn-query {
    padding: 10px 20px;
    background: var(--calm-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, opacity 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.btn-vkn-query:hover {
    opacity: 0.9;
}

.btn-vkn-query:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-vkn-query .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.institution-query-result {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: var(--background-main);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.institution-query-result.query-success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.institution-query-result.query-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.institution-query-result .form-group {
    margin-bottom: 0.75rem;
}

.institution-query-result .form-group:last-child {
    margin-bottom: 0;
}

.institution-query-result input,
.institution-query-result textarea {
    background: var(--background-main);
    color: var(--text-primary, #374151);
    border: 1px solid var(--border-soft);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.institution-query-result input:focus,
.institution-query-result textarea:focus {
    outline: none;
    border-color: var(--calm-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.institution-query-result textarea {
    resize: vertical;
    min-height: 60px;
}

.terms-group {
    margin: 1rem 0 1.5rem 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--calm-primary);
}

.terms-checkbox a {
    color: var(--calm-primary);
    font-weight: 600;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-soft);
}

.auth-switch a {
    color: var(--calm-primary);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Şifremi Unuttum Stilleri */
.forgot-password-link {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.forgot-password-link a {
    color: var(--calm-primary);
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.forgot-password-link a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.forgot-password-icon {
    font-size: 64px;
    margin-bottom: 0.5rem;
}

.forgot-password-header h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.forgot-password-header p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Spinner Animation */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Dark Theme - Şifremi Unuttum */
html[data-theme="dark"] .forgot-password-link a,
html.dark-theme .forgot-password-link a {
    color: #60a5fa;
}

html[data-theme="dark"] .forgot-password-link a:hover,
html.dark-theme .forgot-password-link a:hover {
    color: #93c5fd;
}

html[data-theme="dark"] .forgot-password-header h2,
html.dark-theme .forgot-password-header h2 {
    color: #f5f5f5;
}

html[data-theme="dark"] .forgot-password-header p,
html.dark-theme .forgot-password-header p {
    color: #b0b0b0;
}

.error-message {
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    padding: 0.5rem 0;
    line-height: 1.4;
}

.error-message:not(:empty) {
    display: block;
}

.success-message {
    background: #ECFDF5;
    color: #059669;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
    border: 1px solid #D1FAE5;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-line;
}

.success-message:not(:empty) {
    display: block;
}

.info-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 12px;
    color: #0369A1;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

.info-message svg {
    color: #0284C7;
}

/* Responsive overrides */
@media (max-width: 1200px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-bar {
        flex-direction: column;
    }

    .modal-profile-hero {
        padding: 2rem 1.5rem;
    }

    .teacher-name-modal {
        font-size: 1.5rem;
        justify-content: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .action-buttons-modal {
        grid-template-columns: 1fr;
    }

    .card-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-view-modern {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .modal-profile-content {
        padding: 1.5rem;
    }

    .profile-section {
        padding: 1.5rem;
    }

    /* Auth Modal Responsive */
    .auth-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .auth-modal-header {
        padding: 1rem 1.5rem !important;
    }

    .auth-modal-header h2 {
        font-size: 1.1rem;
    }

    .auth-modal-body {
        padding: 1.5rem;
    }

    .user-type-selection {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
    }

    .user-type-card {
        padding: 0.75rem 0.5rem;
    }

    .user-type-card .icon {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .user-type-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .user-type-card p {
        font-size: 0.7rem;
    }

    .vkn-query-wrapper {
        flex-direction: column;
    }

    .btn-vkn-query {
        width: 100%;
    }

    .form-group input,
    .form-group select {
        font-size: 16px;
        /* iOS zoom önleme */
    }
}

@media (max-width: 480px) {
    .auth-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .auth-modal-header {
        padding: 1rem !important;
    }

    .auth-modal-body {
        padding: 1rem;
    }

    .user-type-selection {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .user-type-card {
        padding: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
    }

    .user-type-card .icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .user-type-card h4 {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    .user-type-card p {
        font-size: 0.75rem;
    }
}

/* ============================================
   COMPREHENSIVE DARK THEME STYLES
   ============================================ */

/* Dark Theme - Hero Section */
html[data-theme="dark"] .hero h1,
html.dark-theme .hero h1 {
    color: #f5f5f5;
}

html[data-theme="dark"] .hero p,
html.dark-theme .hero p {
    color: #b0b0b0;
}

/* Dark Theme - Search Section */
html[data-theme="dark"] .search-section,
html.dark-theme .search-section {
    background: #1e1e1e;
    border-color: #333333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .search-bar input,
html[data-theme="dark"] .search-bar select,
html.dark-theme .search-bar input,
html.dark-theme .search-bar select {
    background: #252525;
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .search-bar input::placeholder,
html.dark-theme .search-bar input::placeholder {
    color: #888888;
}

html[data-theme="dark"] .search-bar input:focus,
html[data-theme="dark"] .search-bar select:focus,
html.dark-theme .search-bar input:focus,
html.dark-theme .search-bar select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .search-bar button,
html.dark-theme .search-bar button {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #ffffff;
}

html[data-theme="dark"] .search-bar button:hover,
html.dark-theme .search-bar button:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Dark Theme - Filter Tags */
html[data-theme="dark"] .filter-tag,
html.dark-theme .filter-tag {
    background: #252525;
    border-color: #404040;
    color: #b0b0b0;
}

html[data-theme="dark"] .filter-tag:hover,
html[data-theme="dark"] .filter-tag.active,
html.dark-theme .filter-tag:hover,
html.dark-theme .filter-tag.active {
    background: #60a5fa;
    border-color: #60a5fa;
    color: #ffffff;
}

/* Dark Theme - Teacher Cards */
html[data-theme="dark"] .teacher-card,
html.dark-theme .teacher-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-color: #333333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .teacher-card:hover,
html.dark-theme .teacher-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 16px 48px rgba(96, 165, 250, 0.2), 0 8px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .teacher-card::before,
html.dark-theme .teacher-card::before {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #6ee7b7 100%);
}

html[data-theme="dark"] .teacher-header,
html.dark-theme .teacher-header {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-bottom-color: #333333;
}

html[data-theme="dark"] .teacher-header:hover,
html.dark-theme .teacher-header:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
}

html[data-theme="dark"] .teacher-header-toggle,
html.dark-theme .teacher-header-toggle {
    background: rgba(96, 165, 250, 0.15);
}

html[data-theme="dark"] .teacher-header:hover .teacher-header-toggle,
html.dark-theme .teacher-header:hover .teacher-header-toggle {
    background: rgba(96, 165, 250, 0.25);
}

html[data-theme="dark"] .toggle-icon,
html.dark-theme .toggle-icon {
    color: #60a5fa;
}

html[data-theme="dark"] .teacher-avatar,
html.dark-theme .teacher-avatar {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: #60a5fa;
}

html[data-theme="dark"] .teacher-info h3,
html.dark-theme .teacher-info h3 {
    color: #f5f5f5;
}

/* Dark Theme - Meta Items */
html[data-theme="dark"] .meta-item,
html.dark-theme .meta-item {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #b0b0b0;
}

html[data-theme="dark"] .rating-badge,
html.dark-theme .rating-badge {
    background: linear-gradient(135deg, #422006 0%, #78350f 100%);
    border-color: #a16207;
    color: #fbbf24;
}

html[data-theme="dark"] .location-badge,
html.dark-theme .location-badge {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: #4b5563;
    color: #9ca3af;
}

html[data-theme="dark"] .gender-badge,
html.dark-theme .gender-badge {
    background: linear-gradient(135deg, #4a1d42 0%, #831843 100%);
    border-color: #be185d;
    color: #f9a8d4;
}

html[data-theme="dark"] .gender-badge.gender-male,
html[data-theme="dark"] .gender-badge.gender-erkek,
html.dark-theme .gender-badge.gender-male,
html.dark-theme .gender-badge.gender-erkek {
    background: linear-gradient(135deg, #164e63 0%, #0c4a6e 100%);
    border-color: #0369a1;
    color: #7dd3fc;
}

html[data-theme="dark"] .age-badge,
html.dark-theme .age-badge {
    background: linear-gradient(135deg, #164e63 0%, #0c4a6e 100%);
    border-color: #0369a1;
    color: #7dd3fc;
}

html[data-theme="dark"] .lesson-type-badge,
html.dark-theme .lesson-type-badge {
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
    border-color: #6d28d9;
    color: #c4b5fd;
}

/* Dark Theme - Subject Tags */
html[data-theme="dark"] .teacher-subjects-card,
html.dark-theme .teacher-subjects-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-bottom-color: #333333;
}

html[data-theme="dark"] .subject-tag-card,
html.dark-theme .subject-tag-card {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .subject-tag-card:hover,
html.dark-theme .subject-tag-card:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-color: #60a5fa;
    color: #ffffff;
}

html[data-theme="dark"] .subject-more-card,
html.dark-theme .subject-more-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: #4b5563;
    color: #9ca3af;
}

/* Dark Theme - Availability */
html[data-theme="dark"] .teacher-availability-card,
html.dark-theme .teacher-availability-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-bottom-color: #333333;
}

html[data-theme="dark"] .availability-title,
html.dark-theme .availability-title {
    color: #60a5fa;
}

html[data-theme="dark"] .day-badge-time,
html.dark-theme .day-badge-time {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .day-badge-time:hover,
html.dark-theme .day-badge-time:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-color: #60a5fa;
}

html[data-theme="dark"] .time-range,
html.dark-theme .time-range {
    color: #888888;
}

html[data-theme="dark"] .day-badge-more,
html.dark-theme .day-badge-more {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: #4b5563;
    color: #9ca3af;
}

/* Dark Theme - Specialties */
html[data-theme="dark"] .teacher-specialties,
html.dark-theme .teacher-specialties {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-bottom-color: #333333;
}

html[data-theme="dark"] .specialty-tag-small,
html.dark-theme .specialty-tag-small {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #b0b0b0;
}

html[data-theme="dark"] .specialty-tag-small:hover,
html.dark-theme .specialty-tag-small:hover {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    border-color: #6ee7b7;
    color: #064e3b;
}

html[data-theme="dark"] .specialty-more,
html.dark-theme .specialty-more {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: #4b5563;
    color: #9ca3af;
}

/* Dark Theme - Stats */
html[data-theme="dark"] .teacher-stats-modern,
html.dark-theme .teacher-stats-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

html[data-theme="dark"] .stat-modern,
html.dark-theme .stat-modern {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%) !important;
    border-color: #404040 !important;
    color: #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .stat-modern:hover,
html.dark-theme .stat-modern:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%) !important;
    border-color: #60a5fa !important;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2) !important;
    transform: translateY(-2px);
}

html[data-theme="dark"] .stat-value-modern,
html.dark-theme .stat-value-modern {
    color: #f5f5f5 !important;
}

html[data-theme="dark"] .stat-label-modern,
html.dark-theme .stat-label-modern {
    color: #9ca3af !important;
}

html[data-theme="dark"] .stat-icon,
html.dark-theme .stat-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Dark Theme - Modal */
html[data-theme="dark"] .auth-modal-content,
html.dark-theme .auth-modal-content {
    background: #1e1e1e;
    border-color: #333333;
}

html[data-theme="dark"] .auth-modal-header,
html.dark-theme .auth-modal-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .auth-modal-header h2,
html.dark-theme .auth-modal-header h2 {
    background: linear-gradient(135deg, #f5f5f5 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .auth-close-modal,
html.dark-theme .auth-close-modal {
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%) !important;
    border-color: #404040 !important;
    color: #9CA3AF !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] .auth-close-modal:hover,
html.dark-theme .auth-close-modal:hover {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    border-color: #DC2626 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), 0 2px 6px rgba(239, 68, 68, 0.3) !important;
}

html[data-theme="dark"] .auth-modal-body,
html.dark-theme .auth-modal-body {
    background: #1e1e1e;
}

html[data-theme="dark"] .user-type-card,
html.dark-theme .user-type-card {
    background: #252525;
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .user-type-card:hover,
html.dark-theme .user-type-card:hover {
    background: #2a2a2a;
    border-color: #60a5fa;
}

html[data-theme="dark"] .user-type-card.selected,
html.dark-theme .user-type-card.selected {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-color: #60a5fa;
}

html[data-theme="dark"] .vkn-query-wrapper input,
html.dark-theme .vkn-query-wrapper input {
    background: #252525;
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .vkn-query-wrapper input:focus,
html.dark-theme .vkn-query-wrapper input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

html[data-theme="dark"] .institution-query-result,
html.dark-theme .institution-query-result {
    background: #1a1a1a;
    border-color: #404040;
}

html[data-theme="dark"] .institution-query-result.query-success,
html.dark-theme .institution-query-result.query-success {
    border-color: #059669;
    background: rgba(16, 185, 129, 0.08);
}

html[data-theme="dark"] .institution-query-result input,
html[data-theme="dark"] .institution-query-result textarea,
html.dark-theme .institution-query-result input,
html.dark-theme .institution-query-result textarea {
    background: #252525;
    border-color: #404040;
    color: #e5e7eb;
}

html[data-theme="dark"] .institution-query-result input:focus,
html[data-theme="dark"] .institution-query-result textarea:focus,
html.dark-theme .institution-query-result input:focus,
html.dark-theme .institution-query-result textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

html[data-theme="dark"] .form-group label,
html.dark-theme .form-group label {
    color: #b0b0b0;
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea,
html.dark-theme .form-group input,
html.dark-theme .form-group select,
html.dark-theme .form-group textarea {
    background: #252525;
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder,
html.dark-theme .form-group input::placeholder,
html.dark-theme .form-group textarea::placeholder {
    color: #888888;
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group select:focus,
html[data-theme="dark"] .form-group textarea:focus,
html.dark-theme .form-group input:focus,
html.dark-theme .form-group select:focus,
html.dark-theme .form-group textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

/* Dark Theme - Buttons */
html[data-theme="dark"] .btn-primary,
html.dark-theme .btn-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

html[data-theme="dark"] .btn-primary:hover,
html.dark-theme .btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4);
}

html[data-theme="dark"] .btn-secondary,
html.dark-theme .btn-secondary {
    background: #252525 !important;
    border-color: #60a5fa !important;
    color: #60a5fa !important;
}

html[data-theme="dark"] .btn-secondary:hover,
html.dark-theme .btn-secondary:hover {
    background: #60a5fa !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .btn-soft,
html.dark-theme .btn-soft {
    background: #333333 !important;
    border-color: #4b5563 !important;
    color: #f5f5f5 !important;
}

html[data-theme="dark"] .btn-soft:hover,
html.dark-theme .btn-soft:hover {
    background: #404040 !important;
    border-color: #6b7280 !important;
}

/* Dark Theme - Advanced Filters */
html[data-theme="dark"] .advanced-filters,
html.dark-theme .advanced-filters {
    background: #1e1e1e;
}

html[data-theme="dark"] .toggle-filters-btn,
html.dark-theme .toggle-filters-btn {
    background: #252525;
    color: #f5f5f5;
    border-color: #404040;
}

html[data-theme="dark"] .toggle-filters-btn:hover,
html.dark-theme .toggle-filters-btn:hover {
    background: #2a2a2a;
    border-color: #60a5fa;
}

html[data-theme="dark"] .filters-container,
html.dark-theme .filters-container {
    background: #1e1e1e;
    border-color: #333333;
}

html[data-theme="dark"] .filter-category,
html.dark-theme .filter-category {
    background: #252525;
    border-color: #333333;
}

html[data-theme="dark"] .filter-category-header,
html.dark-theme .filter-category-header {
    background: #252525;
    color: #f5f5f5;
}

html[data-theme="dark"] .filter-category-header:hover,
html.dark-theme .filter-category-header:hover {
    background: #2a2a2a;
}

html[data-theme="dark"] .filter-category-content,
html.dark-theme .filter-category-content {
    background: #1e1e1e;
}

html[data-theme="dark"] .filter-checkbox,
html.dark-theme .filter-checkbox {
    color: #b0b0b0;
}

html[data-theme="dark"] .filter-checkbox:hover,
html.dark-theme .filter-checkbox:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

html[data-theme="dark"] .filter-checkbox input:checked+span,
html.dark-theme .filter-checkbox input:checked+span {
    color: #60a5fa;
}

/* Dark Theme - Pagination */
html[data-theme="dark"] .pagination,
html.dark-theme .pagination {
    background: #1e1e1e;
}

html[data-theme="dark"] .pagination button,
html.dark-theme .pagination button {
    background: #252525;
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .pagination button:hover,
html.dark-theme .pagination button:hover {
    background: #2a2a2a;
    border-color: #60a5fa;
}

html[data-theme="dark"] .pagination button.active,
html.dark-theme .pagination button.active {
    background: #60a5fa;
    border-color: #60a5fa;
    color: #ffffff;
}

/* Dark Theme - Scrollbar */
html[data-theme="dark"],
html.dark-theme {
    scrollbar-width: thin;
    scrollbar-color: #404040 #0f0f0f;
}

html[data-theme="dark"] ::-webkit-scrollbar,
html.dark-theme ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: #0f0f0f;
}

html[data-theme="dark"] ::-webkit-scrollbar-track,
html.dark-theme ::-webkit-scrollbar-track {
    background: #0f0f0f;
    border-radius: 5px;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb,
html.dark-theme ::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 5px;
    border: 2px solid #0f0f0f;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover,
html.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* Dark Theme - Select Options */
html[data-theme="dark"] select option,
html.dark-theme select option {
    background: #252525;
    color: #f5f5f5;
}

/* Dark Theme - Links */
html[data-theme="dark"] a,
html.dark-theme a {
    color: #60a5fa;
}

html[data-theme="dark"] a:hover,
html.dark-theme a:hover {
    color: #93c5fd;
}

/* Dark Theme - Headings */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html.dark-theme h1,
html.dark-theme h2,
html.dark-theme h3,
html.dark-theme h4,
html.dark-theme h5,
html.dark-theme h6 {
    color: #f5f5f5;
}

/* Dark Theme - Tooltips */
html[data-theme="dark"] [title]:hover::after,
html.dark-theme [title]:hover::after {
    background: #333333;
    color: #f5f5f5;
}

/* Dark Theme - Card Footer */
html[data-theme="dark"] .card-footer,
html.dark-theme .card-footer {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-top-color: #333333;
}

html[data-theme="dark"] .price-amount,
html.dark-theme .price-amount {
    background: linear-gradient(135deg, #6ee7b7 0%, #5BC0BE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .price-period,
html.dark-theme .price-period {
    color: #e5e7eb;
}

html[data-theme="dark"] .btn-view-modern,
html.dark-theme .btn-view-modern {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1e40af 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4), 0 3px 10px rgba(96, 165, 250, 0.3);
}

html[data-theme="dark"] .btn-view-modern:hover,
html.dark-theme .btn-view-modern:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e3a8a 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 12px 32px rgba(96, 165, 250, 0.5), 0 6px 16px rgba(96, 165, 250, 0.4);
}

html[data-theme="dark"] .btn-view-modern *,
html[data-theme="dark"] .btn-view-modern span,
html[data-theme="dark"] .btn-view-modern p,
html.dark-theme .btn-view-modern *,
html.dark-theme .btn-view-modern span,
html.dark-theme .btn-view-modern p {
    color: #FFFFFF !important;
}

/* Dark Theme - Modal Price Display */
html[data-theme="dark"] .price-display,
html.dark-theme .price-display {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .price-label,
html.dark-theme .price-label {
    color: #d1d5db;
}

html[data-theme="dark"] .price-value-modal,
html.dark-theme .price-value-modal {
    background: linear-gradient(135deg, #6ee7b7 0%, #5BC0BE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .price-unit,
html.dark-theme .price-unit {
    color: #e5e7eb;
}

html[data-theme="dark"] .modal-footer-actions,
html.dark-theme .modal-footer-actions {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-top-color: #333333;
}

/* Dark Theme - Modal Profile Hero */
html[data-theme="dark"] .modal-profile-hero,
html.dark-theme .modal-profile-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 50%, #1e5555 100%);
}

html[data-theme="dark"] .modal-profile-hero::before,
html.dark-theme .modal-profile-hero::before {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, transparent 100%);
}

html[data-theme="dark"] .modal-profile-hero .teacher-avatar,
html.dark-theme .modal-profile-hero .teacher-avatar {
    border: 4px solid rgba(96, 165, 250, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(96, 165, 250, 0.15);
    background: rgba(30, 30, 30, 0.95);
}

html[data-theme="dark"] .modal-profile-hero .teacher-avatar:hover,
html.dark-theme .modal-profile-hero .teacher-avatar:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .hero-info,
html.dark-theme .hero-info {
    color: #FFFFFF;
}

html[data-theme="dark"] .teacher-name-modal,
html.dark-theme .teacher-name-modal {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .meta-badge,
html.dark-theme .meta-badge {
    background: rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .meta-badge:hover,
html.dark-theme .meta-badge:hover {
    background: rgba(96, 165, 250, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .gender-meta.gender-male,
html[data-theme="dark"] .gender-meta.gender-erkek,
html.dark-theme .gender-meta.gender-male,
html.dark-theme .gender-meta.gender-erkek {
    background: rgba(14, 165, 233, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

html[data-theme="dark"] .gender-meta.gender-female,
html[data-theme="dark"] .gender-meta.gender-kadın,
html.dark-theme .gender-meta.gender-female,
html.dark-theme .gender-meta.gender-kadın {
    background: rgba(236, 72, 153, 0.3);
    border-color: rgba(236, 72, 153, 0.5);
}

html[data-theme="dark"] .gender-meta.gender-other,
html[data-theme="dark"] .gender-meta.gender-diger,
html[data-theme="dark"] .gender-meta.gender-diğer,
html.dark-theme .gender-meta.gender-other,
html.dark-theme .gender-meta.gender-diger,
html.dark-theme .gender-meta.gender-diğer {
    background: rgba(156, 163, 175, 0.3);
    border-color: rgba(156, 163, 175, 0.5);
}

/* Dark Theme - Modal Profile Content */
html[data-theme="dark"] .modal-profile-content,
html.dark-theme .modal-profile-content {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
}

html[data-theme="dark"] .profile-section,
html.dark-theme .profile-section {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .profile-section:hover,
html.dark-theme .profile-section:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .profile-section::before,
html.dark-theme .profile-section::before {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
}

html[data-theme="dark"] .section-icon,
html.dark-theme .section-icon {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-color: #60a5fa;
    color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

html[data-theme="dark"] .profile-section:hover .section-icon,
html.dark-theme .profile-section:hover .section-icon {
    box-shadow: 0 6px 18px rgba(96, 165, 250, 0.4);
}

html[data-theme="dark"] .section-title,
html.dark-theme .section-title {
    background: linear-gradient(135deg, #f5f5f5 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .section-text,
html[data-theme="dark"] .bio-text,
html.dark-theme .section-text,
html.dark-theme .bio-text {
    color: #b0b0b0;
}

html[data-theme="dark"] .subject-tag-modal,
html[data-theme="dark"] .specialty-tag-modal,
html.dark-theme .subject-tag-modal,
html.dark-theme .specialty-tag-modal {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #f5f5f5;
}

html[data-theme="dark"] .subject-tag-modal:hover,
html[data-theme="dark"] .specialty-tag-modal:hover,
html.dark-theme .subject-tag-modal:hover,
html.dark-theme .specialty-tag-modal:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    border-color: #60a5fa;
    color: #60a5fa;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #FAFBFC 0%, #F8FAFC 100%);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.pagination-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.page-info {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid #E5E7EB;
}

/* Dark Theme - Pagination */
html[data-theme="dark"] .pagination-container,
html.dark-theme .pagination-container {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .pagination-btn,
html.dark-theme .pagination-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

html[data-theme="dark"] .pagination-btn:hover,
html.dark-theme .pagination-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

html[data-theme="dark"] .page-info,
html.dark-theme .page-info {
    background: #252525;
    color: #f5f5f5;
    border-color: #404040;
}

/* Dark Theme - Modal Action Buttons */
html[data-theme="dark"] .btn-message,
html.dark-theme .btn-message {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3), 0 2px 8px rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .btn-message:hover,
html.dark-theme .btn-message:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%) !important;
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4), 0 4px 12px rgba(96, 165, 250, 0.3);
}

html[data-theme="dark"] .btn-message:active,
html.dark-theme .btn-message:active {
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

html[data-theme="dark"] .btn-message *,
html[data-theme="dark"] .btn-message span,
html[data-theme="dark"] .btn-message p,
html.dark-theme .btn-message *,
html.dark-theme .btn-message span,
html.dark-theme .btn-message p {
    color: #FFFFFF !important;
}