:root {
    --primary-color: #2196F3;
    --secondary-color: #FF6B6B;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px var(--shadow-color);
    text-align: left;
}

.site-header img {
    height: 50px;
    width: auto;
}

/* Logo navigasyon stilleri */
.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 70px;
    width: auto;
}

/* Navigation */
.nav {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    background: none;
    border: none;
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav ul, .site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav li, .site-nav li {
    margin: 0;
    padding: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Masaüstünde hamburger gizli, normal menü görünür */
@media (min-width: 769px) and (orientation: portrait), (min-width: 1025px) {
    .nav-left .hamburger {
        display: none !important;
    }
    
    .nav-left ul {
        display: flex !important;
        position: static !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        margin-left: 3rem !important;
        gap: 1.5rem !important;
    }
    
    .slide-menu {
        display: none !important;
    }
    
    .nav-right .register-dropdown,
    .nav-right .login-dropdown {
        display: block !important;
    }
    
    .mobile-menu-btn,
    .nav-left .mobile-menu-btn,
    .nav-right .mobile-menu-btn,
    .fab-menu,
    .fab-btn,
    .mobile-controls,
    .mobile-tab-bar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

.nav-left ul {
    gap: 1.5rem;
    margin-left: 3rem;
}

.nav-right {
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
}

/* Site-nav backward compatibility */
.site-nav {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.site-nav ul {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav a, .site-nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav a:hover, .site-nav a:hover {
    background-color: var(--light-gray);
}

/* Site-nav specific styles for backward compatibility */
.site-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
}

.site-nav li {
    display: flex;
    align-items: center;
}

/* Register Dropdown */
.register-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.register-btn {
    padding: 0.5rem 1rem;
    background-color: #FF8C00;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #FF7F00;
}

/* Hover kaldırıldı - JavaScript ile kontrol ediliyor */

/* Login Dropdown */
.login-dropdown {
    position: relative;
    display: inline-block;
}

.login-btn, .login-toggle {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.dropdown-content, .login-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 2px 5px var(--shadow-color);
    border-radius: 10px;
    z-index: 1000;
}

/* Hover kaldırıldı - JavaScript ile kontrol ediliyor */

.dropdown-content a, .login-menu a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content a:hover, .login-menu a:hover {
    background-color: var(--light-gray);
}

.dropdown-content a i, .login-menu a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* User Profile Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-avatar-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.avatar-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 2;
}

.user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.avatar-image:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.user-avatar:hover,
.user-avatar-fallback:hover {
    background-color: var(--secondary-color);
}

.user-menu {
    display: none !important;
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    background-color: #fff !important;
    min-width: 200px !important;
    box-shadow: 0 2px 10px var(--shadow-color) !important;
    border-radius: 8px !important;
    z-index: 9999 !important;
    border: 1px solid var(--border-color) !important;
    margin-top: 0.5rem !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.user-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.user-role {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 2px;
}

.user-info {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.user-name {
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 4px;
}

.user-email {
    font-size: 0.9rem;
    color: #666;
}

.user-menu a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.user-menu a:hover {
    background-color: var(--light-gray);
}

.user-menu .logout {
    color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
}

.user-menu .logout:hover {
    background-color: #ffebee;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #64B5F6);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Main container */
main {
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: var(--light-gray);
    width: 100%;
    box-sizing: border-box;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Featured Teachers Section */
.featured-teachers {
    padding: 4rem 2rem;
}

.featured-teachers h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.teacher-info {
    padding: 1.5rem;
    text-align: center;
}

.teacher-info h3 {
    margin-bottom: 0.5rem;
}

.subject {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience {
    color: #666;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-color), #FF8E8E);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #2196F3;
    color: white;
    border: none;
    cursor: pointer;
}

.button.primary {
    background-color: #2196F3;
    color: white;
}

.button.secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* Footer */
.site-footer {
    background-color: #f8f9fa;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.footer-section p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a i {
    font-size: 0.8rem;
    width: 16px;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Legal Consent Styles */
.legal-consent-section {
    margin: 10px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    line-height: 1.2;
}

.legal-consent-section h3 {
    color: #333;
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.consent-info {
    color: #666;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 9px;
    line-height: 1.2;
}

.consent-checkboxes {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.consent-item {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    line-height: 0;
}

.consent-item input[type="checkbox"] {
    margin: 0 3px 0 0;
    transform: scale(1.2);
    cursor: pointer;
    vertical-align: middle;
    border: none;
    outline: none;
    box-shadow: none;
}

.consent-item label {
    font-size: 9px;
    line-height: 0;
    color: #333;
    cursor: pointer;
    vertical-align: middle;
    display: inline;
    margin: 0;
    padding: 0;
}

.consent-item label a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.consent-item label a:hover {
    text-decoration: underline;
}

.consent-item:has(input:checked) {
    background: transparent;
    border: none;
}

/* Legal Consent Modal Styles */
.legal-consent-modal {
    display: block;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.legal-consent-modal-content {
    background-color: white;
    margin: 8% auto;
    padding: 1.2rem;
    border-radius: 8px;
    width: 95%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.legal-consent-modal-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-color);
}

.legal-consent-modal-header h2 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
}

.legal-consent-modal-header p {
    color: #666;
    font-size: 0.8rem;
}

.legal-consent-modal-body {
    margin-bottom: 1rem;
}

.consent-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.consent-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

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

.consent-header h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

.read-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.read-btn:hover {
    background: #e55a5a;
    transform: translateY(-1px);
}

.consent-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.consent-status input[type="checkbox"] {
    transform: scale(1.1);
    cursor: pointer;
}

.consent-status label {
    font-size: 0.8rem;
    color: var(--text-color);
    cursor: pointer;
}

.legal-consent-modal-footer {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.consent-submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.consent-submit-btn:hover:not(:disabled) {
    background: #e55a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.consent-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Legal Consent Modal */
@media (max-width: 768px) {
    .legal-consent-modal-content {
        margin: 10% auto;
        width: 98%;
        padding: 1rem;
    }
    
    .consent-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .read-btn {
        width: 100%;
    }
    
    .consent-submit-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Privacy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.privacy-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 1.2rem;
    border-radius: 6px;
    width: 95%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-color);
}

.privacy-modal-header h2 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.2rem;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    padding: 0.3rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.privacy-modal-close:hover {
    background-color: #f0f0f0;
    color: var(--text-color);
}

.privacy-modal-body {
    line-height: 1.4;
    color: #333;
    font-size: 0.85rem;
}

.privacy-modal-body h3 {
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.privacy-modal-body p {
    margin-bottom: 0.7rem;
    text-align: justify;
}

.privacy-modal-body ul {
    margin-bottom: 0.7rem;
    padding-left: 1rem;
}

.privacy-modal-body li {
    margin-bottom: 0.3rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .privacy-modal-content {
        margin: 8% auto;
        width: 98%;
        padding: 1rem;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.1rem;
    }
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.login-button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #1976D2;
}

.error-message {
    color: #dc3545;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .features-grid,
    .teacher-grid {
        grid-template-columns: 1fr;
    }

    .login-container {
        margin: 1rem;
    }
}

/* Enhanced Styles */
.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

.field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Enhanced form styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1976d2;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Card styles */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.card-body {
    margin-bottom: 1rem;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

.badge-info {
    background-color: #17a2b8;
    color: white;
}

/* Status indicators */
.status-pending {
    color: #ffc107;
}

.status-approved {
    color: #28a745;
}

.status-rejected {
    color: #dc3545;
}

.status-completed {
    color: #17a2b8;
}

.status-incomplete {
    color: #dc3545;
}

/* Rating stars */
.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-empty {
    color: #e4e5e9;
}

/* ===== MOBIL RESPONSIVE TASARIM ===== */

/* Mobil cihazlar için genel iyileştirmeler */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    background-color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Mobil cihazlar için daha iyi font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =========================
   FLOATING ACTION BUTTON (FAB)
========================= */

/* FAB - Sadece mobilde görünür */
.fab-menu {
    display: none;
}

@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
    /* FAB Container */
    .fab-menu {
        display: block !important;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
    }
    
    /* FAB Button */
    .fab-btn {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.5rem !important;
        position: relative !important;
        z-index: 1001 !important;
    }
    
    /* FAB Hover Effects */
    .fab-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    }
    
    /* FAB Active State */
    .fab-btn:active {
        transform: translateY(0) !important;
    }
    
    /* FAB Ripple Effect */
    .fab-btn::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 50%;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .fab-btn:active::before {
        opacity: 1;
    }
    
    /* FAB Icon Animation */
    .fab-btn i {
        transition: transform 0.3s ease !important;
    }
    
    .nav-left.active .fab-btn i {
        transform: rotate(180deg) !important;
    }
}

@media (max-width: 480px) {
    .fab-menu {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .fab-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
    }
}

/* Tablet ve küçük ekranlar (768px ve altı) veya mobil landscape */
@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
    /* Genel layout */
    html, body {
        background-color: #fff !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Header ve Navigation */
    .site-header {
        padding: 0.5rem;
    }
    
    .site-header img {
        height: 40px;
    }
    
    /* Navigation yeniden düzenleme */
    .nav, .site-nav {
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        gap: 0;
    }
    
    /* Navigation link renkleri mobilde sabit */
    .nav a, .site-nav a {
        color: #333 !important;
        text-decoration: none !important;
    }
    
    .nav a:hover, .site-nav a:hover {
        background-color: #f5f5f5 !important;
        color: #333 !important;
    }
    
    /* Sol taraf: Logo + Hamburger */
    .nav-left {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 1;
    }
    

    
    /* Mobilde hamburger gizli, UL'u fullscreen overlay yap */
    .nav-left .hamburger {
        display: none !important;
    }
    
    .nav-left ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #fff;
        z-index: 1000;
        flex-direction: column;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow-y: auto;
    }
    
    .nav-left.active ul {
        display: flex !important;
    }
    
    /* Fullscreen navigation header - logo */
    .nav-left ul::before {
        content: '';
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        background-color: #ffffff;
        border-bottom: 2px solid #e0e0e0;
        background-image: url('assets/1.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100px auto;
        width: 100%;
        height: 70px;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    

    
    /* Fullscreen navigation links */
    .nav-left ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
        padding: 0;
    }
    
    .nav-left ul li:last-child {
        border-bottom: none;
    }
    
    .nav-left ul li a {
        color: #333 !important;
        text-decoration: none !important;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 500;
        display: block;
        transition: all 0.3s ease;
        letter-spacing: 0.3px;
        border-radius: 0;
        line-height: 1.4;
    }
    
    /* Anlaşmalı kurumlar special styling */
    .nav-left ul li a[href="/kurumlar"] {
        background: linear-gradient(135deg, #ff8c00 0%, #ff7043 100%) !important;
        color: white !important;
        font-weight: 600 !important;
        margin: 0.5rem 1rem;
        border-radius: 12px !important;
        text-align: center;
        box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
        border: none !important;
        position: relative;
    }
    
    .nav-left ul li a[href="/kurumlar"]::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: -1rem;
        right: -1rem;
        height: 1px;
        background: transparent;
    }
    
    .nav-left ul li a[href="/kurumlar"]:hover {
        background: linear-gradient(135deg, #ff7043 0%, #ff5722 100%) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4) !important;
    }
    
    .nav-left ul li a:hover {
        background-color: #f5f5f5 !important;
    }
    
    /* Slide menu - Mobilde slide menü */
    .slide-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-left.active .slide-menu {
        display: block;
        transform: translateX(0);
    }
    
    /* Slide menü için backdrop overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-left.active ~ .nav-overlay {
        display: block;
    }
    
    /* Slide menü header */
    .slide-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 1.5rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-menu-logo img {
        height: 50px;
        width: auto;
    }
    
    .slide-menu-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    
    /* Slide menü navigation */
    .slide-menu-nav {
        flex: 1;
        padding: 0;
    }
    
    .slide-menu-nav a {
        color: white !important;
        text-decoration: none !important;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        display: block;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }
    
    .slide-menu-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        transform: translateX(10px);
    }
    
    .slide-menu-nav a:last-child {
        border-bottom: none;
    }
    
    /* Slide menü linklerdeki ikonlar */
    .slide-menu-nav a i {
        margin-right: 1rem;
        width: 20px;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
    }
    
    /* Slide menü alt kısmı - Giriş/Kayıt butonları */
    .slide-menu-footer {
        margin-top: auto;
        padding: 2rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-menu-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .slide-menu-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        color: white;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-menu-btn.register {
        background: linear-gradient(135deg, #667eea, #764ba2);
        font-weight: 600;
    }
    
    .slide-menu-btn.register:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    
    .slide-menu-btn.login {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .slide-menu-btn.login:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    .slide-menu-auth-section {
        margin-bottom: 1rem;
    }
    
    .slide-menu-auth-section:last-child {
        margin-bottom: 0;
    }
    
    .slide-menu-auth-section h4 {
        color: white;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.9;
    }
    
    .slide-menu-btn i {
        font-size: 1rem;
        width: 16px;
        text-align: center;
    }
    

    
    /* Logo sol başta */
    .nav-left .logo-link {
        order: 1;
        flex-shrink: 0;
    }
    
    /* Sağ taraf: Sadece kullanıcı avatarı (giriş yapmışsa) */
    .nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.3rem;
        flex-shrink: 0;
        flex-wrap: nowrap !important;
        min-width: fit-content;
    }
    

    
    .mobile-menu-btn:hover {
        background-color: #1976D2 !important;
        transform: scale(1.05);
    }
    
    /* Mobilde kayıt/giriş butonları görünür */
    .nav-right .register-dropdown,
    .nav-right .login-dropdown {
        display: block !important;
    }
    
    /* Dropdown menüler - mobilde daha kompakt */
    .register-dropdown, .login-dropdown {
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .register-btn, .login-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
        min-width: auto;
        flex-shrink: 0;
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .register-btn {
        color: white !important;
        background-color: #FF8C00 !important;
        border: none !important;
        border-radius: 10px !important;
    }
    
    .register-btn:hover {
        background-color: #FF7F00 !important;
        transform: translateY(-1px);
    }
    
    .login-btn {
        color: white !important;
        background-color: var(--primary-color) !important;
        border: none !important;
        border-radius: 10px !important;
    }
    
    .login-btn:hover {
        background-color: #1976D2 !important;
        transform: translateY(-1px);
    }
    
    .dropdown-content, .login-menu {
        position: absolute;
        right: 0;
        min-width: 160px;
        box-shadow: 0 2px 5px var(--shadow-color);
        margin-top: 0.5rem;
        background-color: #fff !important;
        border: 1px solid #ddd !important;
        display: none;
        z-index: 1000;
        border-radius: 6px;
    }
    
    .dropdown-content a, .login-menu a {
        color: #333 !important;
        text-decoration: none !important;
    }
    
    .dropdown-content a:hover, .login-menu a:hover {
        background-color: #f5f5f5 !important;
        color: #333 !important;
    }
    
    /* Kullanıcı avatarı mobilde küçük ama görünür */
    .user-dropdown {
        position: relative;
        z-index: 1000;
        flex-shrink: 0;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .user-menu {
        right: 0;
        min-width: 200px;
        max-width: 250px;
        top: 100%;
        margin-top: 0.5rem;
        z-index: 1001;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        overflow: hidden;
        /* Viewport'tan taşmasını önle */
        max-width: calc(100vw - 30px);
        left: auto;
        transform: none;
    }
    
    /* Hero section */
    .hero {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .button {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    /* Features section */
    .features {
        padding: 2rem 1rem;
    }
    
    .features h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Teacher grid */
    .teacher-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .teacher-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Form improvements */
    .form-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Card improvements */
    .card {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    /* Login container */
    .login-container {
        padding: 1rem;
        margin: 1rem;
        max-width: 100%;
    }
    
    /* Teacher info rows */
    .teacher-info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
        font-size: 13px;
    }
    
    .info-value {
        font-size: 13px;
    }
}

/* Mobil telefonlar (480px ve altı) veya küçük landscape */
@media (max-width: 480px), (max-height: 400px) and (orientation: landscape) {
    /* Siyah alan sorununu önlemek için */
    html, body {
        background-color: #ffffff !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 100vh !important;
    }
    
    /* Daha küçük fontlar */
    body {
        font-size: 13px;
    }
    
    /* Header */
    .site-header img {
        height: 35px;
    }
    
    .nav-logo {
        height: 50px;
    }
    
    /* Hero section */
    .hero {
        padding: 1.5rem 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    /* Features */
    .features {
        padding: 1.5rem 0.5rem;
    }
    
    .features h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    /* Teacher cards */
    .teacher-card {
        padding: 0.75rem;
    }
    
    /* Forms */
    .form-container {
        padding: 0.75rem;
        margin: 0.5rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .card {
        margin: 0.25rem;
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    /* Login */
    .login-container {
        padding: 0.75rem;
        margin: 0.5rem;
    }
    
    /* Navigation improvements */
    .nav a, .site-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        color: #333 !important;
        text-decoration: none !important;
    }
    
    .nav a:hover, .site-nav a:hover {
        background-color: #f5f5f5 !important;
        color: #333 !important;
    }
    
    /* Dropdown buttons - küçük ekranlarda renkli */
    .register-btn, .login-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: auto;
        flex-shrink: 0;
        border-radius: 5px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .register-btn {
        color: white !important;
        background-color: #FF8C00 !important;
        border: none !important;
        border-radius: 10px !important;
    }
    
    .register-btn:hover {
        background-color: #FF7F00 !important;
    }
    
    .login-btn {
        color: white !important;
        background-color: var(--primary-color) !important;
        border: none !important;
        border-radius: 10px !important;
    }
    
    .login-btn:hover {
        background-color: #1976D2 !important;
    }
    

    
    /* Nav-right ekstra kompakt */
    .nav-right {
        gap: 0.2rem !important;
        flex-wrap: nowrap !important;
    }
    
    /* Kullanıcı avatarı daha küçük telefonlarda */
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    /* User menu mobilde optimize */
    .user-menu {
        right: 0;
        min-width: 180px;
        max-width: 220px;
        margin-top: 0.3rem;
        z-index: 1002;
        left: auto;
        transform: none;
        /* Viewport'tan taşmasını önle */
        max-width: calc(100vw - 20px);
    }
    
    .user-info {
        padding: 12px;
    }
    
    .user-name {
        font-size: 0.9rem;
    }
    
    .user-email {
        font-size: 0.8rem;
    }
    
    .user-role {
        font-size: 0.8rem;
    }
    
    .user-menu a {
        padding: 10px 12px;
        font-size: 0.85rem;
        color: #333 !important;
        text-decoration: none !important;
    }
    
    .user-menu a:hover {
        background-color: #f5f5f5 !important;
        color: #333 !important;
    }
    
    .user-name, .user-email, .user-role {
        color: #333 !important;
    }
    
    /* Hamburger menu daha küçük */
    .hamburger span {
        width: 20px;
        height: 2px;
    }
}

/* Büyük mobil cihazlar (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .teacher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Değerlendirme İstatistikleri */
.review-status-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.status-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 100px;
}

.status-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: white;
}

.status-label.approved {
    background: var(--success-color);
}

.status-label.pending {
    background: var(--warning-color);
}

.status-label.rejected {
    background: var(--danger-color);
}

.status-count {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Değerlendirme Alt Tabları */
.review-sub-tabs {
    margin-top: 2rem;
}

.review-sub-tabs .sub-tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.review-sub-tabs .sub-tab-button {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.review-sub-tabs .sub-tab-button:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.review-sub-tabs .sub-tab-button.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* Yorum Kartları */
.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

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

.review-student {
    font-size: 1.1rem;
    color: var(--text-color);
}

.review-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.review-status.status-approved {
    background: var(--success-color);
}

.review-status.status-pending {
    background: var(--warning-color);
}

.review-status.status-rejected {
    background: var(--danger-color);
}

.review-rating {
    margin-bottom: 1rem;
}

.rating-text {
    margin-left: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-comment {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: right;
}

.no-reviews {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

/* Tablet yatay (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .teacher-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-left ul {
        gap: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch cihazlar için daha büyük butonlar */
    .btn, .button {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    /* Touch cihazlar için daha büyük linkler */
    .nav a, .site-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Touch cihazlar için daha büyük form elemanları */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* iOS zoom'u önlemek için */
    }
    
    /* Touch cihazlar için daha büyük dropdown */
    .dropdown-content a, .login-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .nav, .site-nav {
        padding: 0.25rem 1rem;
    }
    
    .teacher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .site-header img,
    .nav-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support - Force white background */
@media (prefers-color-scheme: dark) {
    /* Override dark mode to ensure white background */
    html, body {
        background-color: #ffffff !important;
        color: #333 !important;
    }
    
    .card, .teacher-card {
        background-color: #ffffff !important;
        border-color: #ddd !important;
    }
    
    .nav, .site-nav, .site-header {
        background-color: #ffffff !important;
        border-color: #ddd !important;
    }
    
    .dropdown-content, .login-menu {
        background-color: #ffffff !important;
        border-color: #ddd !important;
    }
    
    .form-control {
        background-color: #ffffff !important;
        border-color: #ddd !important;
        color: #333 !important;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
    }
    
    /* Footer da beyaz kalsın */
    .site-footer {
        background-color: #f8f9fa !important;
    }
}

/* Teacher Info Row Styles */
.teacher-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-label {
    font-weight: 600;
    color: #555;
    min-width: 140px;
    flex-shrink: 0;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

.info-value.highlight {
    color: #2196F3;
    font-weight: 600;
}

/* Teacher Card Improvements */
.teacher-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e0e0e0;
}

.teacher-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.teacher-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.teacher-about {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
}

/* Yeni Rezervasyon Kartı Stilleri */
.reservation-card-new {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 500px;
}

.reservation-card-new:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Rezervasyon listesi grid düzeni */
.reservation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Mobil için tek sütun */
@media (max-width: 768px) {
    .reservation-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .reservation-card-new {
        max-width: none;
    }
}

.reservation-card-header-new {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reservation-date-time {
    display: flex;
    gap: 20px;
    align-items: center;
}

.date-section, .time-section {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.date-section i, .time-section i {
    font-size: 18px;
    opacity: 0.9;
}

.reservation-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

.status-badge.status-approved {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.status-badge.status-paid {
    background: rgba(33, 150, 243, 0.9);
    color: white;
}

.status-badge.status-completed {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.status-badge.status-cancelled {
    background: rgba(149, 165, 166, 0.9);
    color: white;
}

.status-badge.status-rejected {
    background: rgba(231, 76, 60, 0.9);
    color: white;
}

.status-badge.status-revised {
    background: rgba(243, 156, 18, 0.9);
    color: white;
}

.status-badge.status-temporary {
    background: rgba(255, 107, 107, 0.9);
    color: white;
    animation: pulse 2s infinite;
}

.status-badge.status-incomplete {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.2);
}

.countdown-timer i {
    color: #ffd700;
    animation: spin 2s linear infinite;
}

.countdown-display {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: white;
}

.cancelled-time {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: #fff;
}

.cancelled-time i {
    color: #ff6b6b;
}

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

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

.status-badge.status-unknown {
    background: rgba(189, 195, 199, 0.9);
    color: white;
}

.reservation-content {
    padding: 20px;
}

/* Rezervasyon başlığı */
.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.reservation-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reservation-title i {
    color: #495057;
    font-size: 16px;
}

.reservation-title h3 {
    margin: 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

/* Öğretmen bilgi kartı */
.teacher-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 3px solid #2196F3;
}

.teacher-avatar {
    flex-shrink: 0;
}

.avatar-initials {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.2);
}

.teacher-info {
    flex: 1;
}

.teacher-name {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 3px;
}

.teacher-subject {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* Rezervasyon detayları listesi */
.reservation-details-list {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.reservation-details-list .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.reservation-details-list .detail-item:last-child {
    border-bottom: none;
}

.reservation-details-list .detail-item:hover {
    background-color: #f8f9fa;
}

.reservation-details-list .detail-label {
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}

.reservation-details-list .detail-value {
    font-weight: 500;
    color: #212529;
    font-size: 13px;
    text-align: right;
}

.reservation-details-list .detail-value.status-paid {
    color: #28a745;
    font-weight: 600;
}

/* Yeni rezervasyon bilgi grid düzeni */
.reservation-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.reservation-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    transition: all 0.3s ease;
}

.reservation-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
}

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

.info-content .info-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-content .info-value {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2px;
    word-break: break-word;
}

.info-content .info-subtitle {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.info-content .info-remaining {
    font-size: 14px;
    color: #28a745;
    font-weight: 600;
    margin-top: 4px;
}

.reservation-notes {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

.notes-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
}

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

.notes-content .notes-label {
    font-size: 12px;
    font-weight: 600;
    color: #856404;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.notes-content .notes-text {
    font-size: 14px;
    color: #856404;
    line-height: 1.4;
    word-break: break-word;
}

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

.teacher-column, .student-column {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.teacher-column h4, .student-column h4 {
    margin: 0 0 15px 0;
    color: #2196F3;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.info-label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: #212529;
    font-size: 14px;
    text-align: right;
}

.reservation-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.detail-value {
    font-weight: 600;
    color: #212529;
    font-size: 14px;
}

.reservation-actions {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.action-buttons-new {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
    justify-content: center;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pay-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.pay-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

.revise-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.revise-btn:hover {
    background: linear-gradient(135deg, #F57C00, #E65100);
}

.cancel-btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.cancel-btn:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
}

.no-reservations {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .reservation-card-header-new {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .reservation-date-time {
        flex-direction: column;
        gap: 10px;
    }

    .reservation-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .teacher-info-card {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .avatar-initials {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .teacher-name {
        font-size: 16px;
    }

    .teacher-subject {
        font-size: 13px;
    }

    .reservation-details-list .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }

    .reservation-details-list .detail-value {
        text-align: left;
        font-weight: 600;
    }

    .reservation-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .reservation-info-item {
        padding: 12px;
    }

    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .info-content .info-value {
        font-size: 14px;
    }

    .info-content .info-subtitle {
        font-size: 12px;
    }

    .reservation-notes {
        padding: 12px;
    }

    .notes-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .info-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .action-buttons-new {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Yeni Filtreleme Sistemi Stilleri */
.filter-type-selector {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.filter-type-selector h5 {
    margin-bottom: 1rem;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
}

.filter-type-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-type-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #dee2e6;
    background: white;
    color: #6c757d;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.filter-type-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-type-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.date-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.date-separator {
    font-weight: bold;
    color: #6c757d;
}

.time-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.active-filters-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f4fd;
    border-radius: 8px;
    border: 1px solid #bee5eb;
}

.active-filters-info h5 {
    margin-bottom: 0.75rem;
    color: #0c5460;
    font-size: 1rem;
    font-weight: 600;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.active-filter {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.no-filters {
    color: #6c757d;
    font-style: italic;
}

.clear-all-filters {
    margin-top: 1rem;
}

.clear-all-btn {
    width: 100%;
    padding: 0.75rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.clear-all-btn:hover {
    background: #c82333;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .filter-type-buttons {
        flex-direction: column;
    }
    
    .date-range-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .time-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .active-filters-list {
        flex-direction: column;
    }
    
    .active-filter {
        text-align: center;
    }
}

/* Özel Landscape Mode Kuralları - Mobil cihazların yan çevrilmesi */
@media (orientation: landscape) and (max-height: 600px) {
    /* Hamburger menu landscape'te de görünür olsun */
    .nav-left .hamburger {
        display: flex !important;
        order: 2;
        margin-left: 1rem;
        flex-shrink: 0;
    }
    
    /* Logo hamburgerdan önce */
    .logo-link {
        order: 1;
        flex-shrink: 0;
    }
    
    /* Normal UL - Masaüstünde görünür, mobilde gizli */
    .nav-left ul {
        display: flex;
        gap: 1.5rem;
        margin-left: 3rem;
    }
    
    /* Slide Menu - Admin Panel Style */
    .slide-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-left.active .slide-menu {
        display: block;
        transform: translateX(0);
    }
    
    /* Slide menü için backdrop overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-left.active ~ .nav-overlay {
        display: block;
    }
    
    /* Slide menü header (logo + close button) */
    .slide-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 1.5rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-menu-logo img {
        height: 50px;
        width: auto;
    }
    
    .slide-menu-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    

    
    /* Slide menü navigation */
    .slide-menu-nav {
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .slide-menu-nav a {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-menu-nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }
    
    .slide-menu-nav a:last-child {
        margin-bottom: 1rem;
    }
    
    /* Slide menü linklerdeki ikonlar */
    .slide-menu-nav a i {
        font-size: 1.2rem;
        width: 20px;
        text-align: center;
    }
    
    .nav a:hover, .site-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    /* Slide menü alt kısmı - Giriş/Kayıt butonları */
    .slide-menu-footer {
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: auto;
    }
    
    .slide-menu-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .slide-menu-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        color: white;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-menu-btn.register {
        background: linear-gradient(135deg, #667eea, #764ba2);
        font-weight: 600;
    }
    
    .slide-menu-btn.register:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    
    .slide-menu-btn.login {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .slide-menu-btn.login:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    /* Slide menü auth section */
    .slide-menu-auth-section {
        margin-bottom: 1rem;
    }
    
    .slide-menu-auth-section:last-child {
        margin-bottom: 0;
    }
    
    .slide-menu-auth-section h4 {
        color: white;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-align: center;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        backdrop-filter: blur(10px);
    }
    
    .slide-menu-btn i {
        font-size: 1rem;
        width: 16px;
        text-align: center;
    }
    
    /* Nav-right kompakt landscape'te */
    .nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.3rem;
        flex-shrink: 0;
        flex-wrap: nowrap !important;
        min-width: fit-content;
    }
    
    /* Dropdown butonları landscape'te */
    .register-btn, .login-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: auto;
        flex-shrink: 0;
        color: #333 !important;
        background-color: #f8f9fa !important;
        border: 1px solid #ddd !important;
    }
}



/* iOS Style Tab Bar - Hidden by default */
.mobile-tab-bar {
    display: none;
    position: fixed; /* Tekrar fixed yap */
    bottom: 0;
    left: 0;
    right: 0;
    background: #2196F3;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 9997; /* Footer'ın üstünde görünsün */
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Tab Bar Items */
.mobile-tab-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    max-width: 80px;
}

.tab-item i {
    font-size: 20px;
    color: white;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.tab-item span {
    font-size: 10px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1;
}

.tab-item.active i {
    color: #E3F2FD;
    transform: scale(1.1);
}

.tab-item.active span {
    color: #E3F2FD;
    font-weight: 600;
}

.tab-item:active {
    transform: scale(0.95);
}

/* Tab Badge */
.filter-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: #FF3B30;
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

.filter-toggle-btn,
.sort-toggle-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

/* Sort button specific styling */
.sort-toggle-btn {
    background: linear-gradient(135deg, #ff8c00, #ff7043);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.sort-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.5);
}

.filter-count {
    background: #ff6b6b;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    display: none;
}

.filter-count.active {
    display: inline-block;
}

.mobile-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998; /* Z-index'i artır */
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-sheet {
    display: none;
    position: relative; /* Fixed yerine relative kullan */
    background: white;
    border-radius: 20px;
    z-index: 99999; /* Z-index'i artır */
    max-height: 85vh;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    overflow: hidden;
}

.mobile-filter-sheet.active {
    transform: scaleY(1);
    display: block;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 20px 20px 0 0;
}

.mobile-filter-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-filter-header h3 i {
    color: #2196F3;
}

.close-filter-btn {
    background: #f1f3f4;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-filter-btn:hover {
    background: #e8eaed;
    transform: scale(1.1);
}

.close-filter-btn i {
    color: #666;
    font-size: 14px;
}

.mobile-filter-content {
    max-height: calc(85vh - 140px);
    overflow-y: auto;
    padding: 0 20px 20px;
}

.mobile-filter-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.clear-all-mobile-btn, .apply-filters-mobile-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.clear-all-mobile-btn {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.clear-all-mobile-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.apply-filters-mobile-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.apply-filters-mobile-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-1px);
}

/* Mobile Sort Sheet Styles */
.mobile-sort-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998; /* Z-index'i artır */
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sort-sheet {
    display: none;
    position: relative; /* Fixed yerine relative kullan */
    background: white;
    border-radius: 20px;
    z-index: 99999; /* Z-index'i artır */
    max-height: 70vh;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    overflow: hidden;
}

.mobile-sort-sheet.active {
    display: block;
    transform: scaleY(1);
}

.mobile-sort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
}

.mobile-sort-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-sort-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-sort-btn:hover {
    background-color: #e9ecef;
}

.mobile-sort-content {
    padding: 10px 0;
    max-height: 50vh;
    overflow-y: auto;
}

.sort-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.sort-option:hover {
    background-color: #f8f9fa;
}

.sort-option.active {
    background-color: #e3f2fd;
    border-left: 4px solid #2196F3;
}

.sort-option.active .sort-check {
    opacity: 1;
    transform: scale(1);
}

.sort-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 16px;
    color: #666;
}

.sort-option.active .sort-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.sort-details {
    flex: 1;
}

.sort-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.sort-details p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.sort-check {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    color: #2196F3;
    font-size: 18px;
    font-weight: bold;
}

/* Mobile responsive for search page */
@media (max-width: 768px) {
    /* Hide desktop filters on mobile */
    .filters {
        display: none !important;
    }
    
    /* Show iOS tab bar on mobile */
    .mobile-tab-bar {
        display: flex !important;
    }
    
    /* Add bottom padding to prevent content overlap */
    body {
        padding-bottom: 80px !important;
    }
    
    /* Full width for teachers grid on mobile */
    .container {
        padding: 10px;
    }
    
    .teachers-grid {
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    /* Mobile filter sheet scroll improvements */
    .mobile-filter-content::-webkit-scrollbar {
        width: 4px;
    }
    
    .mobile-filter-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .mobile-filter-content::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }
    
    .mobile-filter-content::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
    
    /* Teacher cards mobile optimization - Horizontal Layout */
    .teachers-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 15px !important;
        margin-top: 15px !important;
        margin-bottom: 90px !important; /* Space for tab bar */
    }
    
    .teacher-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 16px !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        background: #ffffff !important;
        border: 1px solid #f0f0f0 !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .teacher-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
        border-color: #e3f2fd !important;
    }
    
    /* Horizontal layout - Profile image on left */
    .teacher-profile-image-wrapper {
        width: 70px !important;
        height: 70px !important;
        margin: 0 !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0 !important;
    }
    
    /* Content area - takes remaining space */
    .teacher-info {
        text-align: left !important;
        margin: 0 !important;
        flex: 1 !important;
    }
    
    .teacher-info h3 {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin: 0 0 4px 0 !important;
        color: #333 !important;
        line-height: 1.3 !important;
    }
    
    .teacher-subject {
        font-size: 0.85rem !important;
        margin: 0 0 8px 0 !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    /* Details section - compact horizontal */
    .teacher-details {
        margin: 0 !important;
    }
    
    .teacher-info-row {
        margin-bottom: 6px !important;
        padding: 0 !important;
        border-bottom: none !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .teacher-info-row .info-label {
        font-size: 0.75rem !important;
        color: #666 !important;
        min-width: 60px !important;
        flex-shrink: 0 !important;
    }
    
    .teacher-info-row .info-value {
        font-size: 0.75rem !important;
        color: #333 !important;
        flex: 1 !important;
    }
    
    .teacher-info-row .info-value.highlight {
        color: #2196F3 !important;
        font-weight: 600 !important;
    }
    
    /* Compact star rating */
    .star-rating {
        font-size: 0.7rem !important;
    }
    
    .review-count {
        font-size: 0.7rem !important;
        color: #666 !important;
    }
    
    /* Teacher stats layout on mobile */
    .teacher-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 15px 0 !important;
        padding: 15px !important;
        background: #f8f9fa !important;
        border-radius: 12px !important;
    }
    
    .teacher-stat {
        text-align: center !important;
        padding: 8px !important;
    }
    
    .teacher-stat .stat-value {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #2196F3 !important;
        display: block !important;
    }
    
    .teacher-stat .stat-label {
        font-size: 0.8rem !important;
        color: #666 !important;
        margin-top: 2px !important;
    }
    
    /* Teacher actions on mobile */
    .teacher-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }
    
    .teacher-actions .btn {
        width: 100% !important;
        padding: 12px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
    }
    
    .teacher-actions .btn-primary {
        background: linear-gradient(135deg, #2196F3, #1976D2) !important;
        border: none !important;
        color: white !important;
    }
    
    .teacher-actions .btn-outline {
        background: transparent !important;
        border: 2px solid #2196F3 !important;
        color: #2196F3 !important;
    }
    
    .teacher-actions .btn:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3) !important;
    }
    
    /* Mobile filter adaptations for better touch */
    .mobile-filter-content .filter-section {
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .mobile-filter-content .filter-section:last-child {
        border-bottom: none !important;
    }
    
    .mobile-filter-content .search-box {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 12px 15px !important;
        border-radius: 8px !important;
    }
    
    .mobile-filter-content .filter-option {
        margin-bottom: 12px !important;
        padding: 8px 0 !important;
    }
    
    .mobile-filter-content .filter-option input {
        transform: scale(1.2) !important;
        margin-right: 12px !important;
    }
    
    /* Accordion Filter Styles */
    .filter-accordion-item {
        border-bottom: 1px solid #f0f0f0;
        overflow: hidden;
    }
    
    .filter-accordion-item:last-child {
        border-bottom: none;
    }
    
    .filter-accordion-header {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        position: relative;
    }
    
    .filter-accordion-header:active {
        background-color: #f8f9fa;
    }
    
    .filter-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f0f4ff, #e6f0ff);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .filter-icon i {
        font-size: 16px;
        color: #2196F3;
    }
    
    .filter-title {
        flex: 1;
    }
    
    .filter-title h4 {
        margin: 0 0 2px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }
    
    .filter-subtitle {
        margin: 0;
        font-size: 13px;
        color: #666;
        line-height: 1.2;
    }
    
    .filter-arrow {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    
    .filter-arrow i {
        font-size: 12px;
        color: #999;
    }
    
    .filter-accordion-item.active .filter-arrow {
        transform: rotate(180deg);
    }
    
    .filter-accordion-content {
        padding: 0 20px 20px 75px;
        display: none;
        animation: slideDown 0.3s ease;
    }
    
    .filter-accordion-item.active .filter-accordion-content {
        display: block;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile inputs and controls */
    .mobile-search-input {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #f0f0f0;
        border-radius: 12px;
        font-size: 16px;
        background: #fafafa;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    
    .mobile-search-input:focus {
        border-color: #2196F3;
        background: #fff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    }
    
    .date-quick-options, .price-quick-options {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        flex-wrap: wrap;
    }
    
    .quick-date-btn, .quick-price-btn {
        padding: 8px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        background: #fff;
        color: #666;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .quick-date-btn:hover, .quick-date-btn.active,
    .quick-price-btn:hover, .quick-price-btn.active {
        background: #2196F3;
        color: white;
        border-color: #2196F3;
    }
    
    /* Gender and Branch options */
    .gender-options {
        display: flex;
        gap: 12px;
    }
    
    .gender-option {
        flex: 1;
        cursor: pointer;
    }
    
    .gender-option input[type="radio"] {
        display: none;
    }
    
    .gender-card {
        padding: 16px 12px;
        border: 2px solid #f0f0f0;
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
        background: #fafafa;
    }
    
    .gender-card i {
        font-size: 20px;
        color: #666;
        margin-bottom: 8px;
        display: block;
    }
    
    .gender-card span {
        font-size: 13px;
        color: #666;
        font-weight: 500;
    }
    
    .gender-option input[type="radio"]:checked + .gender-card {
        border-color: #2196F3;
        background: #e3f2fd;
    }
    
    .gender-option input[type="radio"]:checked + .gender-card i,
    .gender-option input[type="radio"]:checked + .gender-card span {
        color: #2196F3;
    }
    
    .branch-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .branch-chip {
        padding: 8px 16px;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        background: #fff;
        color: #666;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .branch-chip:hover, .branch-chip.active {
        background: #2196F3;
        color: white;
        border-color: #2196F3;
    }
    
    /* Mobile-Specific Filter Controls */
    .clear-mobile-input-btn {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #999;
        cursor: pointer;
        padding: 4px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .clear-mobile-input-btn:hover {
        background: #f0f0f0;
        color: #666;
    }
    
    .mobile-date-dropdown, .mobile-time-dropdown {
        position: relative;
        background: white;
        border-radius: 12px;
        margin-top: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e0e0;
        overflow: hidden;
    }
    
    /* Mobile Calendar Styles */
    .calendar-day {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s ease;
        font-size: 14px;
        font-weight: 500;
    }
    
    .calendar-day:hover {
        background-color: #f0f0f0;
    }
    
    .calendar-day.other-month {
        color: #ccc;
    }
    
    .calendar-day.today {
        background-color: #2196F3;
        color: white;
        font-weight: 600;
    }
    
    .calendar-day.selected-start,
    .calendar-day.selected-end {
        background-color: #1976D2;
        color: white;
        font-weight: 600;
    }
    
    .calendar-day.in-range {
        background-color: #e3f2fd;
        color: #1976D2;
    }
    
    .calendar-weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
        margin-bottom: 8px;
        padding: 0 8px;
    }
    
    .calendar-weekdays span {
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #666;
        padding: 8px 0;
    }
    
    .calendar-days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
        padding: 0 8px;
    }
    
    .mobile-location-dropdown, .mobile-expertise-dropdown {
        position: relative;
        background: white;
        border-radius: 8px;
        margin-top: 8px;
        max-height: 200px;
        overflow-y: auto;
        border: 2px solid #2196F3;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }
    
    .mobile-dropdown-item {
        padding: 12px 16px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.3s ease;
        font-size: 14px;
    }
    
    .mobile-dropdown-item:hover {
        background-color: #f8f9fa;
    }
    
    .mobile-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .mobile-selected-tag {
        display: inline-flex;
        align-items: center;
        background: #e3f2fd;
        color: #1976D2;
        padding: 6px 12px;
        border-radius: 16px;
        font-size: 12px;
        font-weight: 500;
        margin: 4px 4px 4px 0;
        border: 1px solid #2196F3;
    }
    
    .mobile-selected-tag span {
        margin-left: 8px;
        cursor: pointer;
        font-weight: bold;
        color: #1976D2;
        font-size: 14px;
        line-height: 1;
        padding: 2px;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    
    .mobile-selected-tag span:hover {
        background-color: rgba(25, 118, 210, 0.1);
    }
    
    .mobile-selected-items {
        margin-top: 12px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .mobile-teaching-locations {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-filter-option {
        cursor: pointer;
        display: block;
    }
    
    .mobile-filter-option input[type="checkbox"] {
        display: none;
    }
    
    .mobile-location-card {
        padding: 16px;
        border: 2px solid #f0f0f0;
        border-radius: 12px;
        background: #fafafa;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
    }
    
    .mobile-location-card i {
        font-size: 18px;
        color: #666;
        width: 24px;
        text-align: center;
    }
    
    .mobile-location-card span {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }
    
    .mobile-filter-option input[type="checkbox"]:checked + .mobile-location-card {
        border-color: #2196F3;
        background: #e3f2fd;
    }
    
    .mobile-filter-option input[type="checkbox"]:checked + .mobile-location-card i,
    .mobile-filter-option input[type="checkbox"]:checked + .mobile-location-card span {
        color: #2196F3;
    }
    
    .mobile-gender-options {
        display: flex;
        gap: 12px;
    }
    
    .mobile-gender-option {
        flex: 1;
        cursor: pointer;
    }
    
    .mobile-gender-option input[type="radio"] {
        display: none;
    }
    
    .mobile-gender-card {
        padding: 16px 12px;
        border: 2px solid #f0f0f0;
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
        background: #fafafa;
    }
    
    .mobile-gender-card i {
        font-size: 20px;
        color: #666;
        margin-bottom: 8px;
        display: block;
    }
    
    .mobile-gender-card span {
        font-size: 13px;
        color: #666;
        font-weight: 500;
    }
    
    .mobile-gender-option input[type="radio"]:checked + .mobile-gender-card {
        border-color: #2196F3;
        background: #e3f2fd;
    }
    
    .mobile-gender-option input[type="radio"]:checked + .mobile-gender-card i,
    .mobile-gender-option input[type="radio"]:checked + .mobile-gender-card span {
        color: #2196F3;
    }
    
    .mobile-range-slider {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: #f0f0f0;
        outline: none;
        margin: 16px 0;
        -webkit-appearance: none;
    }
    
    .mobile-range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2196F3;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
    }
    
    .mobile-range-slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2196F3;
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
    }
    
    .mobile-range-values {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-range-value {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }
    
    .mobile-experience-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .mobile-experience-option {
        cursor: pointer;
    }
    
    .mobile-experience-option input[type="radio"] {
        display: none;
    }
    
    .mobile-experience-card {
        padding: 16px 12px;
        border: 2px solid #f0f0f0;
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
        background: #fafafa;
    }
    
    .mobile-experience-card i {
        font-size: 18px;
        color: #666;
        margin-bottom: 8px;
        display: block;
    }
    
    .mobile-experience-card span {
        font-size: 13px;
        color: #666;
        font-weight: 500;
    }
    
    .mobile-experience-option input[type="radio"]:checked + .mobile-experience-card {
        border-color: #2196F3;
        background: #e3f2fd;
    }
    
    .mobile-experience-option input[type="radio"]:checked + .mobile-experience-card i,
    .mobile-experience-option input[type="radio"]:checked + .mobile-experience-card span {
        color: #2196F3;
    }
}

/* Mobile Filter Controls */
.mobile-filter-controls {
    display: none;
    margin-bottom: 20px;
    padding: 0 20px;
}

.mobile-filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.mobile-filter-btn, .mobile-sort-btn {
    flex: 1;
    max-width: 200px;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-filter-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.mobile-sort-btn {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
}

.mobile-filter-btn:hover, .mobile-sort-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-filter-btn:active, .mobile-sort-btn:active {
    transform: translateY(0);
}

.filter-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FF3B30;
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

/* Mobil sürümde filtre kontrollerini göster */
@media (max-width: 768px) {
    .mobile-filter-controls {
        display: block !important;
    }
    
    /* Masaüstü filtrelerini mobilde gizle */
    .filters {
        display: none !important;
    }
    
    /* Mobil filtre ve sıralama menülerini ana içerik alanında göster */
    .mobile-filter-sheet,
    .mobile-sort-sheet {
        margin: 20px 0;
        border: 1px solid #e9ecef;
        /* Mobilde daha iyi görünmesi için */
        position: relative !important;
        z-index: 99999 !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
        /* Sheet'lerin mobilde görünür olması için */
        display: block !important;
        transform: scaleY(1) !important;
    }
    
    /* Container'ın mobil sürümde daha iyi görünmesi için */
    .container {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    /* Mobil sürümde bottom navigation bar'ı göster */
    .mobile-tab-bar {
        display: flex !important; /* Mobilde göster */
    }
    
    /* Tab item'ları mobilde daha iyi görünsün */
    .mobile-tab-bar .tab-item {
        padding: 12px 8px !important;
        font-size: 12px !important;
    }
    
    .mobile-tab-bar .tab-item span {
        font-size: 10px !important;
    }
    
    /* Body'ye alt padding ekle ki bottom navigation bar'ın altında içerik kaybolmasın */
    body {
        padding-bottom: 80px !important;
    }
    
    /* Overlay'lerin mobilde daha iyi çalışması için */
    .mobile-filter-overlay,
    .mobile-sort-overlay {
        z-index: 99998 !important;
        /* Overlay'lerin mobilde varsayılan olarak gizli olması için */
        display: none !important;
        opacity: 0 !important;
    }
    
    /* Sheet'lerin mobilde daha iyi görünmesi için */
    .mobile-filter-sheet,
    .mobile-sort-sheet {
        z-index: 99999 !important;
        position: relative !important;
        /* Sheet'lerin mobilde varsayılan olarak gizli olması için */
        display: none !important;
        transform: scaleY(0) !important;
    }
    
    /* Sadece aktif olduğunda göster */
    .mobile-filter-overlay.active,
    .mobile-sort-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }
    
    .mobile-filter-sheet.active,
    .mobile-sort-sheet.active {
        display: block !important;
        transform: scaleY(1) !important;
    }
}

/* Masaüstü sürümde container'ın tüm içeriğiyle birlikte scroll etmesi için */
@media (min-width: 769px) {
    .container {
        scroll-behavior: smooth;
        /* Container'ın tüm içeriğiyla birlikte scroll etmesi için */
        position: relative;
        overflow: visible;
    }
    
    .filters-section {
        margin-bottom: 2rem;
        padding: 1rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    /* Container'ın tek sütun yapısı */
    .container {
        display: block;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    /* Öğretmen kartlarının da container ile birlikte scroll etmesi için */
    .teachers-grid {
        position: relative;
        transform: none;
    }
    
    /* Masaüstünde mobil bottom navigation bar'ı gizle */
    .mobile-tab-bar-container {
        display: none !important;
    }
    
    /* Tab content stilleri */
    .tab-content {
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
        position: relative;
    }
    
    .tab-content.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Sorting content stilleri */
    .sorting-content {
        padding: 20px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }
    
    .sorting-content h3 {
        margin: 0 0 20px 0;
        color: #333;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .sorting-content h3 i {
        color: #2196F3;
    }
    
    .sort-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .sort-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }
    
    .sort-option:hover {
        border-color: #2196F3;
        background: #f8f9fa;
    }
    
    .sort-option input[type="radio"] {
        margin: 0;
        accent-color: #2196F3;
    }
    
    .sort-option span {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .sort-option span i {
        color: #2196F3;
        font-size: 16px;
    }
    
    .sort-option input[type="radio"]:checked + span {
        color: #2196F3;
        font-weight: 600;
    }
}

/* Ödeme durumu metinleri için ortak stil */
.payment-pending-text,
.payment-completed-text {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px; /* Sayı ile arasında boşluk */
    padding: 2px 6px;
    border-radius: 4px;
}

/* Ödeme bekleyen metin için kırmızı arka plan */
.payment-pending-text {
    color: white;
    background-color: #dc3545;
}

/* Ödenen metin için yeşil arka plan */
.payment-completed-text {
    color: white;
    background-color: #28a745;
}

/* ===== HYBRID CITY/DISTRICT DROPDOWN SYSTEM ===== */

/* Modern Dropdown Container */
.hybrid-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.hybrid-dropdown .form-control {
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e1e5e9;
    border-radius: 16px;
    padding: 1.2rem 1rem 1.2rem 3.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.hybrid-dropdown .form-control:hover {
    border-color: #3498db;
    box-shadow: 0 8px 30px rgba(52,152,219,0.25);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.hybrid-dropdown .form-control:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.15), 0 12px 40px rgba(52,152,219,0.3);
    transform: translateY(-3px);
}

.hybrid-dropdown .form-control::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(52,152,219,0.3);
}

.hybrid-dropdown .form-control::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #7f8c8d;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.hybrid-dropdown.active .form-control::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
    background: #3498db;
}

.hybrid-dropdown .selected-text {
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
}

/* Dropdown Panel */
.hybrid-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid #e1e5e9;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 450px;
    overflow: hidden;
    border-top: 1px solid rgba(52,152,219,0.1);
}

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

/* Search Bar */
.hybrid-search {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(52,152,219,0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.hybrid-search input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-weight: 500;
}

.hybrid-search input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
    background: #ffffff;
    transform: scale(1.02);
}

.hybrid-search input::placeholder {
    color: #95a5a6;
    font-weight: 400;
}

/* Quick Actions */
.hybrid-quick-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(52,152,219,0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    flex-wrap: wrap;
    justify-content: center;
}

.quick-action-btn {
    padding: 0.75rem 1.2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(52,152,219,0.15);
    position: relative;
    overflow: hidden;
}

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

.quick-action-btn:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52,152,219,0.3);
    border-color: #64b5f6;
}

.quick-action-btn:hover::before {
    left: 100%;
}

.quick-action-btn.active {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(33,150,243,0.4);
    transform: translateY(-1px);
}

.quick-action-btn i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Options Container */
.hybrid-options {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.hybrid-options::-webkit-scrollbar {
    width: 8px;
}

.hybrid-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.hybrid-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.hybrid-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Group Headers */
.hybrid-group-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(52,152,219,0.1);
    font-weight: 700;
    color: #495057;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-icon {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    margin-right: 0.75rem;
    box-shadow: 0 2px 4px rgba(52,152,219,0.3);
}

/* Individual Options */
.hybrid-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(52,152,219,0.05);
    position: relative;
    overflow: hidden;
}

.hybrid-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.hybrid-option:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    transform: translateX(8px);
}

.hybrid-option:hover::before {
    transform: scaleY(1);
}

.hybrid-option.selected {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.hybrid-option.selected .option-text {
    color: #1976d2;
    font-weight: 600;
}

.option-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

.option-count {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(231,76,60,0.3);
}

/* Empty State */
.hybrid-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #7f8c8d;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.hybrid-empty-state p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #95a5a6;
}

.hybrid-empty-state small {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Success/Error States */
.hybrid-dropdown.success .form-control {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d5f4e6 0%, #abebc6 100%);
}

.hybrid-dropdown.success .form-control::before {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.hybrid-dropdown.error .form-control {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fadbd8 0%, #f5b7b1 100%);
}

.hybrid-dropdown.error .form-control::before {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Loading State */
.hybrid-dropdown.loading .form-control::after {
    background: #3498db;
    animation: spin 1s linear infinite;
}

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

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hybrid-dropdown .form-control {
        padding: 1rem 1rem 1rem 3rem;
        min-height: 56px;
        font-size: 1rem;
    }
    
    .hybrid-dropdown-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        max-height: none;
        z-index: 9999;
    }
    
    .hybrid-quick-actions {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .quick-action-btn {
        flex-shrink: 0;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hybrid-dropdown-panel .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .hybrid-dropdown-panel .mobile-header h3 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .hybrid-dropdown-panel .mobile-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: background 0.3s ease;
    }
    
    .hybrid-dropdown-panel .mobile-close:hover {
        background: rgba(255,255,255,0.2);
    }
    
    .hybrid-options {
        max-height: none;
        flex: 1;
        overflow-y: auto;
    }
    
    .hybrid-option {
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
    }
}

/* Desktop Enhancements */
@media (min-width: 769px) {
    .hybrid-dropdown .form-control:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(52,152,219,0.25);
    }
    
    .hybrid-dropdown-panel {
        min-width: 400px;
        max-width: 500px;
    }
    
    .hybrid-option:hover {
        transform: translateX(12px);
    }
    
    .quick-action-btn {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .quick-action-btn:hover {
        transform: translateY(-3px) scale(1.05);
    }
}

/* Animation Classes */
.hybrid-dropdown-panel.animate-in {
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hybrid-dropdown-panel.animate-out {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* Accessibility */
.hybrid-dropdown .form-control[aria-expanded="true"] {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.15);
}

.hybrid-option:focus {
    outline: 2px solid #3498db;
    outline-offset: -2px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
}