:root {
    --apple-bg: #edf2f0;
    --apple-card: #ffffff;
    --apple-card-green: #f3f8f6;

    --tennis-green: #2a9d8f;
    --tennis-green-hover: #1e7167;
    --tennis-green-light: rgba(42, 157, 143, 0.06);
    --tennis-green-border: rgba(42, 157, 143, 0.15);

    --tennis-clay: #e07a5f;
    --tennis-clay-hover: #cb5f44;
    --tennis-clay-light: rgba(224, 122, 95, 0.08);
    --tennis-clay-border: rgba(224, 122, 95, 0.2);

    --text-primary: #1d1d1f;
    --text-secondary: #5f6664;
    --border-color: rgba(42, 157, 143, 0.12);

    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 40px rgba(42, 157, 143, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 48px rgba(42, 157, 143, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-button: 0 4px 14px rgba(42, 157, 143, 0.3);
    --shadow-button-clay: 0 4px 14px rgba(224, 122, 95, 0.25);

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --apple-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --apple-transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    --navbar-height: 72px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--apple-bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, .main-content {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #12332c;
    letter-spacing: -0.5px;
}

@keyframes appleSlideUp {
    from { opacity: 0; }
    to   { opacity: 1; }
}

main > *:not(.modal):not(.modal-backdrop) {
    animation: appleSlideUp 0.4s ease both;
}

.modal, .modal-backdrop, .modal-dialog, .modal-content {
    animation: none !important;
}

.navbar {
    background: rgba(18, 36, 32, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 0 0 !important;
    height: var(--navbar-height);
    transition: var(--apple-transition);
}

.navbar > .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: -0.4px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .brand-icon {
    width: 34px;
    height: 34px;
    background: rgba(42, 157, 143, 0.2);
    border: 1px solid rgba(42, 157, 143, 0.35);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand .brand-icon i {
    color: var(--tennis-green);
    font-size: 1.1rem;
}

.btn-outline-custom {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: var(--radius-md) !important;
    padding: 8px 16px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: var(--apple-transition) !important;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(42, 157, 143, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.navbar .dropdown-menu {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-hover) !important;
    padding: 6px !important;
    margin-top: 10px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
}

.navbar .dropdown-item {
    border-radius: var(--radius-sm) !important;
    padding: 9px 13px !important;
    font-size: 0.87rem !important;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--apple-transition);
}

.navbar .dropdown-item:hover {
    background-color: var(--tennis-green-light) !important;
    color: var(--tennis-green) !important;
}

.navbar .dropdown-item.text-danger:hover {
    background-color: #fef2f2 !important;
    color: #ef4444 !important;
}


.btn-reserve {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%);
    color: white !important;
    border: none;
    border-radius: var(--radius-md) !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 9px 20px;
    box-shadow: var(--shadow-button);
    transition: var(--apple-transition) !important;
}

.btn-reserve:hover {
    background: linear-gradient(135deg, var(--tennis-green-hover) 0%, #164f48 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

.btn-reserve:active {
    transform: scale(0.97) !important;
}

.rkort_footer {
    background: linear-gradient(180deg, #0e2820 0%, #122420 100%);
    border-top: 1px solid rgba(42, 157, 143, 0.15);
    padding: 36px 0 24px;
    margin-top: auto;
}

.footer_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer_legal_links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 20px;
}

.footer_legal_links a {
    color: #fff;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    transition: var(--apple-transition-fast);
}

.footer_legal_links a:hover {
    color: var(--tennis-green);
    background: rgba(42, 157, 143, 0.1);
}

.footer_divider {
    border: none;
    border-top: 1px solid rgb(255 255 255 / 57%);
    margin: 16px 0;
}

.footer_content p {
    font-size: 0.78rem;
    color: #fff;
    margin: 0;
    letter-spacing: 0.2px;
}

.footer_payment_icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.iyzico_brand {
    height: 22px;
    filter: brightness(0) invert(1);
    transition: var(--apple-transition-fast);
}


.card {
    background: var(--apple-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-card) !important;
    transition: var(--apple-transition) !important;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-3px);
}


.btn {
    font-weight: 600 !important;
    border-radius: 100px !important;
    transition: var(--apple-transition) !important;
}

.btn:active {
    transform: scale(0.96) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%) !important;
    border-color: var(--tennis-green) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-button) !important;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, var(--tennis-green-hover) 0%, #164f48 100%) !important;
    border-color: var(--tennis-green-hover) !important;
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4) !important;
    transform: translateY(-1.5px);
}

.btn-success {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%) !important;
    border-color: var(--tennis-green) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-button) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--tennis-green-hover) 0%, #164f48 100%) !important;
    transform: translateY(-1.5px);
}

.btn-danger {
    background-color: var(--tennis-clay) !important;
    border-color: var(--tennis-clay) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-button-clay) !important;
}

.btn-danger:hover {
    background-color: var(--tennis-clay-hover) !important;
    transform: translateY(-1.5px);
}

.btn-outline-primary {
    color: var(--tennis-green) !important;
    border: 1.5px solid var(--tennis-green-border) !important;
    background: transparent !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--tennis-green-light) !important;
    border-color: var(--tennis-green) !important;
    color: var(--tennis-green) !important;
    transform: translateY(-1px);
}

.btn-outline-danger {
    color: var(--tennis-clay) !important;
    border: 1.5px solid var(--tennis-clay-border) !important;
    background: var(--tennis-clay-light) !important;
}

.btn-outline-danger:hover {
    background: var(--tennis-clay) !important;
    border-color: var(--tennis-clay) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-soft);
}

.btn-outline-secondary:hover {
    background: #fafafa !important;
    border-color: var(--tennis-green-border) !important;
    transform: translateY(-1px);
}

.form-control, .form-select {
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-soft);
    transition: var(--apple-transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--tennis-green) !important;
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.12) !important;
    outline: 0;
    background-color: #ffffff;
}

.form-label {
    font-weight: 600;
    color: #1c3530;
    margin-bottom: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
}

.input-group-text {
    background: var(--apple-card-green) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    color: var(--tennis-green);
}

.badge {
    padding: 5px 12px !important;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    border-radius: 100px !important;
    letter-spacing: 0.2px;
}

.bg-success-subtle, .bg-primary-subtle {
    background-color: var(--tennis-green-light) !important;
    color: var(--tennis-green) !important;
}

.bg-danger-subtle {
    background-color: var(--tennis-clay-light) !important;
    color: var(--tennis-clay) !important;
}

.modal-content {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(18, 36, 32, 0.18) !important;
}


.modal-header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 20px 28px !important;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #12332c;
}

.modal-header .btn-close {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 10px;
    border-radius: 100px;
    transition: var(--apple-transition);
}

.modal-header .btn-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-body {
    background-color: var(--apple-bg) !important;
    padding: 28px !important;
}

.modal-footer {
    border-top: 1px solid var(--border-color) !important;
    padding: 16px 28px !important;
    background: #ffffff;
}

.alert {
    border-radius: var(--radius-md) !important;
    animation: alertSlideDown 0.3s ease both;
}

@keyframes alertSlideDown {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-section {
    background: linear-gradient(135deg, #0e2820 0%, #1a3d35 50%, #122420 100%);
    color: white;
    padding: 22px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border-bottom: 1px solid rgba(42, 157, 143, 0.15);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(42, 157, 143, 0.15);
    border: 1px solid rgba(42, 157, 143, 0.3);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6dd5c9;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 6px;
}

.hero-title span {
    color: var(--tennis-green);
}

.hero-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.6;
}

.clubs-section {
    padding: 28px 0 48px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #12332c;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .title-icon {
    width: 36px;
    height: 36px;
    background: var(--tennis-green-light);
    border: 1px solid var(--tennis-green-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title .title-icon i {
    color: var(--tennis-green);
    font-size: 1rem;
}

.count-badge {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
}

.club-card {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    background: var(--apple-card) !important;
    box-shadow: var(--shadow-card) !important;
    transition: var(--apple-transition) !important;
    overflow: hidden;
    height: 100%;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

.club-card .club-img-wrapper {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.club-card .club-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--apple-transition);
}

.club-card:hover .club-img-wrapper img {
    transform: scale(1.04);
}

.club-card .club-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0e2820 0%, #1a3d35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-card .ttf-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.club-card .card-body {
    padding: 22px !important;
}

.club-card .card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #12332c;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.club-card .active-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--tennis-green);
    margin-bottom: 14px;
}

.club-card .active-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--tennis-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.club-info-box {
    background: var(--apple-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.club-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

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

.club-info-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.club-info-icon.address {
    background: rgba(224, 122, 95, 0.1);
    color: var(--tennis-clay);
}

.club-info-icon.phone {
    background: var(--tennis-green-light);
    color: var(--tennis-green);
}

.club-info-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

.club-info-text strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.club-detail-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 12px 16px;
    background: var(--tennis-green-light);
    border: 1px solid var(--tennis-green-border);
    border-radius: var(--radius-md);
    color: var(--tennis-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: var(--apple-transition);
}

.club-detail-link:hover {
    background: rgba(42, 157, 143, 0.12);
    color: var(--tennis-green-hover);
    transform: translateX(2px);
}

.club-detail-link i {
    transition: var(--apple-transition);
}

.club-detail-link:hover i {
    transform: translateX(4px);
}

.auth-modal-body {
    padding: 48px 36px !important;
    text-align: center;
}

.auth-modal-icon {
    width: 72px;
    height: 72px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.user-dashboard {
    padding: 32px 0 48px;
}

.profile-summary-card {
    background: linear-gradient(135deg, #0e2820 0%, #1a3d35 100%) !important;
    border: 1px solid rgba(42, 157, 143, 0.2) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(18, 36, 32, 0.15) !important;
    transition: var(--apple-transition) !important;
}

.profile-summary-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.profile-summary-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 28px 60px rgba(18, 36, 32, 0.22) !important;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar-wrapper img {
    border: 3px solid rgba(42, 157, 143, 0.4) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.profile-online-dot {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 14px; height: 14px;
    background: #4ade80;
    border: 2px solid #1a3d35;
    border-radius: 50%;
}

.profile-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.profile-email {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.profile-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(42, 157, 143, 0.18);
    border: 1px solid rgba(42, 157, 143, 0.3);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.77rem;
    font-weight: 600;
    color: #6dd5c9;
}

.profile-cancel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(224, 122, 95, 0.12);
    border: 1px solid rgba(224, 122, 95, 0.25);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.77rem;
    font-weight: 600;
    color: #f0a090;
}

.profile-action-area {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    gap: 12px;
}

.btn-new-reserve {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%);
    color: white !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700;
    padding: 14px 24px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-button);
    transition: var(--apple-transition) !important;
    width: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-new-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.45);
    color: white !important;
}

.stat-card {
    background: var(--apple-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--shadow-card) !important;
    transition: var(--apple-transition) !important;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover) !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    opacity: 0.06;
}

.stat-card.total::before { background: var(--tennis-green); }
.stat-card.active::before { background: #4ade80; }

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    color: #12332c;
}

.stat-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.stat-icon.total { background: var(--tennis-green-light); color: var(--tennis-green); }
.stat-icon.active { background: rgba(74, 222, 128, 0.1); color: #16a34a; }

.section-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #12332c;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-heading .heading-icon {
    width: 30px; height: 30px;
    background: var(--tennis-green-light);
    border: 1px solid var(--tennis-green-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--tennis-green);
}

.reservation-card {
    background: var(--apple-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 18px 20px !important;
    box-shadow: var(--shadow-soft) !important;
    transition: var(--apple-transition) !important;
    margin-bottom: 10px;
}

.reservation-card:hover {
    box-shadow: var(--shadow-card) !important;
    transform: translateY(-2px);
    border-color: var(--tennis-green-border) !important;
}

.reservation-card.cancelled {
    border-left: 3px solid var(--tennis-clay) !important;
    opacity: 0.75;
}

.resv-club-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #12332c;
}

.resv-court-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.resv-date {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.resv-time {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tennis-green);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .empty-icon {
    width: 72px;
    height: 72px;
    background: var(--apple-card-green);
    border: 1px solid var(--tennis-green-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--tennis-green);
}

.reserve-page-header {
    background: linear-gradient(135deg, #0e2820 0%, #1a3d35 100%);
    color: white;
    padding: 28px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(42, 157, 143, 0.2);
}

.reserve-page-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
}

.reserve-page-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0;
}

.date-picker-section {
    background: var(--apple-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.step-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.step-label .step-num {
    width: 22px; height: 22px;
    background: var(--tennis-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.date-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 12px 10px;
    border-radius: var(--radius-md) !important;
    border: 1.5px solid var(--border-color);
    background: var(--apple-card);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--apple-transition);
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.date-pill:hover {
    border-color: var(--tennis-green-border);
    background: var(--tennis-green-light);
    color: var(--tennis-green);
    transform: translateY(-2px);
}

.date-pill.active {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%);
    border-color: var(--tennis-green);
    color: #ffffff;
    box-shadow: var(--shadow-button);
}

.date-pill .day-name { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; opacity: 0.75; }
.date-pill .day-num  { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.date-pill .month    { font-size: 0.6rem; }

.court-section {
    background: var(--apple-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.court-card {
    border: 2px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    background: var(--apple-bg) !important;
    transition: var(--apple-transition) !important;
    cursor: pointer;
    box-shadow: none !important;
}

.court-card:hover {
    border-color: var(--tennis-green-border) !important;
    background: var(--tennis-green-light) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-card) !important;
}

.court-card.selected {
    border-color: var(--tennis-green) !important;
    background: var(--tennis-green-light) !important;
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.12), var(--shadow-card) !important;
}

.time-slot-section {
    background: var(--apple-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.time-slot-header {
    background: linear-gradient(135deg, #0e2820 0%, #1a3d35 100%) !important;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-slot-header h5 {
    color: #ffffff !important;
    margin: 0;
}

.time-slot {
    border: 1.5px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--apple-card) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--apple-transition) !important;
}

.time-slot:hover {
    background: #12332c !important;
    border-color: #12332c !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-button) !important;
}

.profile-page-header {
    background: linear-gradient(135deg, #0e2820 0%, #1a3d35 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.profile-page-header::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.15) 0%, transparent 70%);
}

.profile-page-header img {
    border: 3px solid rgba(42, 157, 143, 0.4) !important;
}

.profile-page-header h2 {
    color: #ffffff;
}

.profile-form-card {
    background: var(--apple-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-card) !important;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.form-section-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form-section-icon.personal { background: var(--tennis-green-light); color: var(--tennis-green); }
.form-section-icon.emergency { background: var(--tennis-clay-light); color: var(--tennis-clay); }
.form-section-icon.contract { background: rgba(59, 130, 246, 0.08); color: #3b82f6; }

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #12332c;
    margin: 0;
}

.readonly-field-box {
    background: var(--apple-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.readonly-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.readonly-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contract-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.contract-check {
    width: 26px; height: 26px;
    background: var(--tennis-green-light);
    border: 1px solid var(--tennis-green-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--tennis-green);
    font-size: 0.8rem;
}

.btn-save {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%);
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 24px;
    box-shadow: var(--shadow-button);
    transition: var(--apple-transition) !important;
    width: 100%;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.45);
}

.club-about-page {
    padding: 32px 0 56px;
}

.club-hero-card {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-card) !important;
}

.club-hero-img-wrapper {
    height: 420px;
    position: relative;
    overflow: hidden;
    background: #0e2820;
}

.club-hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--apple-transition);
}

.club-hero-card:hover .club-hero-img-wrapper img {
    transform: scale(1.02);
}

.club-hero-img-wrapper .popular-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 5px;
}

.club-about-body {
    padding: 32px !important;
}

.about-section-icon {
    width: 46px; height: 46px;
    background: var(--tennis-green-light);
    border: 1px solid var(--tennis-green-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--tennis-green);
    flex-shrink: 0;
}

.about-club-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #12332c;
    letter-spacing: -0.8px;
    margin: 0;
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.description-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 12px 0;
}

.gallery-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #12332c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.swiper-btn {
    width: 36px; height: 36px;
    background: var(--apple-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--apple-transition);
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
}

.swiper-btn:hover {
    background: var(--tennis-green);
    border-color: var(--tennis-green);
    color: white;
    transform: scale(1.05);
}

.gallery-card { transition: var(--apple-transition); cursor: pointer; border-radius: var(--radius-md); overflow: hidden; }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(42, 157, 143, 0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--apple-transition);
    border-radius: var(--radius-md);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card:hover img { transform: scale(1.08); transition: var(--apple-transition); }
.clubGallerySwiper { padding-bottom: 48px !important; }

.reserve-sticky-card {
    background: var(--apple-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--shadow-card) !important;
    margin-bottom: 20px;
}

.btn-club-reserve {
    background: linear-gradient(135deg, var(--tennis-green) 0%, #1e7167 100%);
    color: white !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 20px;
    box-shadow: var(--shadow-button);
    transition: var(--apple-transition) !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-club-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(42, 157, 143, 0.45);
    color: white !important;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-icon.phone { background: var(--tennis-green-light); color: var(--tennis-green); }
.contact-icon.address { background: var(--tennis-clay-light); color: var(--tennis-clay); }

.contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.contact-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.contact-value:hover { color: var(--tennis-green); }

.map-card {
    background: var(--apple-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-card) !important;
}

.map-card-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #12332c;
}

@media (max-width: 991px) {
    .profile-action-area {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .club-hero-img-wrapper {
        height: 280px;
    }

    .club-about-body {
        padding: 22px !important;
    }

    .reserve-sticky-card {
        position: static !important;
    }

    .hero-section {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .profile-summary-card .row { flex-direction: column; }

    .stat-card {
        padding: 18px !important;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .reservation-card {
        padding: 14px 16px !important;
    }

    .club-card .club-img-wrapper {
        height: 160px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-section {
        padding: 20px;
    }

    .clubs-section {
        padding: 28px 0;
    }

    .date-pill {
        min-width: 60px;
        padding: 10px 8px;
    }

    .date-pill .day-num {
        font-size: 1.15rem;
    }

    .court-card .card-body {
        padding: 12px !important;
    }

    .time-slot-header {
        padding: 14px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .profile-page-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-page-header .ms-4 {
        margin-left: 0 !important;
        margin-top: 14px;
    }

    .user-dashboard {
        padding: 20px 0 36px;
    }
}
.logo_{
    width: 32px;
}
@media (max-width: 480px) {
    .hero-badge { font-size: 0.72rem; }
    .hero-title { font-size: 1.45rem; }

    .profile-summary-card { margin-left: -4px; margin-right: -4px; }

    .auth-modal-body { padding: 32px 20px !important; }

    .logo_{
    width: 25px;
}
.navbar-brand{
    gap: 2px;
    margin-right: 4px !important;
}
.navbar .btn-reserve{
    font-size: 12px;
    padding: 7px 12px !important;
}
.navbar .btn-outline-custom{
    padding: 5px 10px !important;
}
.navbar .navbar-brand span{
    font-size: 0.9rem;
}
}