/* Turf Booking Pro - Premium Modern UI Styles */

:root {
    --tbp-primary: #10b981;
    --tbp-primary-dark: #059669;
    --tbp-primary-light: #34d399;
    --tbp-secondary: #6366f1;
    --tbp-danger: #ef4444;
    --tbp-warning: #f59e0b;
    --tbp-success: #10b981;
    --tbp-bg: #f8fafc;
    --tbp-card-bg: #ffffff;
    --tbp-border: #e2e8f0;
    --tbp-text: #1e293b;
    --tbp-text-light: #64748b;
    --tbp-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
    --tbp-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --tbp-shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.25);
    --tbp-radius: 16px;
    --tbp-radius-sm: 12px;
    --tbp-radius-lg: 24px;
    --tbp-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tbp-glow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.tbp-booking-app {
    font-family: var(--tbp-font);
    color: var(--tbp-text);
    line-height: 1.6;
    background: var(--tbp-bg);
    padding: 40px 20px;
    min-height: 100vh;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
}

.tbp-booking-container {
    max-width: 720px;
    margin: 0 auto 24px;
    background: var(--tbp-card-bg);
    border-radius: var(--tbp-radius-lg);
    box-shadow: var(--tbp-shadow-lg);
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.tbp-booking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tbp-primary), var(--tbp-secondary), var(--tbp-primary));
    background-size: 200% 100%;
    animation: shimmerBg 3s linear infinite;
}

@keyframes shimmerBg {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

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

.tbp-booking-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tbp-booking-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tbp-booking-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: ambientGlow 6s ease-in-out infinite;
}

@keyframes ambientGlow {
    0%, 100% { transform: translate(-10%, -10%) scale(1); opacity: 1; }
    50% { transform: translate(0%, 0%) scale(1.1); opacity: 0.8; }
}

.tbp-booking-header h2 {
    margin: 0 0 30px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.tbp-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.tbp-step-indicator::before {
    content: '';
    position: absolute;
    top: 33%;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    z-index: -1;
    border-radius: 2px;
}

.tbp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    margin: 5px;
}

.tbp-step.active {
    opacity: 1;
    transform: translateY(-4px);
}

.tbp-step.completed {
    opacity: 0.8;
}

.tbp-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tbp-step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tbp-step.active .tbp-step-number {
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    color: var(--tbp-primary);
    border-color: white;
    transform: scale(1.15);
    box-shadow: 
        0 8px 25px rgba(16, 185, 129, 0.4),
        0 0 0 4px rgba(16, 185, 129, 0.15),
        inset 0 2px 4px rgba(255,255,255,0.4);
}

.tbp-step.completed .tbp-step-number {
    background: var(--tbp-success);
    border-color: var(--tbp-success);
    color: white;
}

.tbp-step-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    letter-spacing: 1px;
}

.tbp-booking-body {
    padding: 40px;
    min-height: 400px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.tbp-step-content {
    display: none;
}

.tbp-step-content.active {
    display: block;
}

.tbp-step-content h3 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    color: var(--tbp-text);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tbp-step-content h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--tbp-primary), var(--tbp-secondary));
    border-radius: 2px;
}

/* Sports Selection */
.tbp-sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.tbp-sport-btn {
    padding: 28px 20px;
    border: 2px solid var(--tbp-border);
    border-radius: var(--tbp-radius);
    background: white;
    color: var(--tbp-text);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.tbp-sport-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(16, 185, 129, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tbp-sport-btn:hover {
    color: black;
    border-color: var(--tbp-primary);
    background: #f0fdf4;
    transform: translateY(-6px);
    box-shadow: 
        var(--tbp-shadow-sm),
        0 10px 30px -10px rgba(16, 185, 129, 0.3);
}

.tbp-sport-btn:hover::before {
    opacity: 1;
}

.tbp-sport-btn.selected {
    border-color: var(--tbp-primary);
    background: linear-gradient(135deg, var(--tbp-primary) 0%, var(--tbp-primary-dark) 100%);
    color: white;
    transform: translateY(-6px);
    box-shadow: 
        0 12px 30px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.tbp-sport-icon {
    font-size: 42px;
}

.tbp-sport-price {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

/* Calendar Styles */
.tbp-calendar-wrapper {
    background: var(--tbp-card-bg);
    border-radius: var(--tbp-radius-lg);
    border: 1px solid var(--tbp-border);
    overflow: hidden;
    box-shadow: var(--tbp-shadow-sm);
}

.tbp-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--tbp-border);
}

.tbp-calendar-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--tbp-text);
}

.tbp-calendar-nav {
    background: white;
    border: 2px solid var(--tbp-border);
    width: 44px;
    height: 44px;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--tbp-text-light);
    transition: all 0.25s ease;
}

.tbp-calendar-nav:hover {
    background: var(--tbp-primary);
    color: white;
    border-color: var(--tbp-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.tbp-calendar-grid {
    padding: 24px;
}

.tbp-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.tbp-calendar-weekdays span {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--tbp-text-light);
    padding: 8px 0;
    text-transform: uppercase;
}

.tbp-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.tbp-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    border: 2px solid transparent;
    position: relative;
}

.tbp-calendar-day:hover:not(.disabled):not(.past) {
    background: linear-gradient(135deg, var(--tbp-primary-light) 0%, var(--tbp-primary) 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.tbp-calendar-day.selected {
    background: linear-gradient(135deg, var(--tbp-primary) 0%, var(--tbp-primary-dark) 100%);
    color: white;
    border-color: var(--tbp-primary-dark);
    transform: scale(1.15);
    box-shadow: 
        0 10px 25px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.tbp-calendar-day.available {
    background: #d1fae5;
    color: var(--tbp-success);
}

.tbp-calendar-day.partial {
    background: #fef3c7;
    color: #d97706;
}

.tbp-calendar-day.full, .tbp-calendar-day.disabled, .tbp-calendar-day.past {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
}

.tbp-calendar-day.today {
    border-color: var(--tbp-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Time Slots */
.tbp-selected-date {
    font-size: 15px;
    color: var(--tbp-text-light);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tbp-selected-date::before {
    content: '📅';
    font-size: 16px;
}

.tbp-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.tbp-slot-btn {
    padding: 16px 20px;
    border: 2px solid var(--tbp-border);
    border-radius: var(--tbp-radius-sm);
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    color: var(--tbp-text);
}

.tbp-slot-btn:hover:not(.disabled) {
    border-color: var(--tbp-primary);
    background: #f0fdf4;
    transform: translateY(-3px);
    box-shadow: var(--tbp-shadow-sm);
    color: black;
}

.tbp-slot-btn.selected {
    background: linear-gradient(135deg, var(--tbp-primary) 0%, var(--tbp-primary-dark) 100%);
    border-color: var(--tbp-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.tbp-slot-btn.disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.tbp-slot-btn.booked {
    background: #fee2e2;
    color: var(--tbp-danger);
    border-color: #fecaca;
    cursor: not-allowed;
}

.tbp-slot-btn.booked:hover {
    transform: none;
    box-shadow: none;
    background: #fee2e2;
    border-color: #fecaca;
    color: var(--tbp-danger);
}

.tbp-price-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 28px;
    border-radius: var(--tbp-radius);
    border: 1px solid var(--tbp-border);
    position: relative;
    overflow: hidden;
}

.tbp-price-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--tbp-primary), var(--tbp-secondary));
}

.tbp-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--tbp-text-light);
    padding: 4px 0;
}

.tbp-price-row.tbp-price-total {
    font-size: 24px;
    font-weight: 700;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 2px dashed var(--tbp-border);
    color: var(--tbp-text);
}

/* Form Styles */
.tbp-form-group {
    margin-bottom: 28px;
}

.tbp-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--tbp-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tbp-form-group label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--tbp-border);
}

.tbp-form-group input,
.tbp-form-group textarea,
.tbp-form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--tbp-border);
    border-radius: var(--tbp-radius-sm);
    font-size: 15px;
    transition: all 0.25s ease;
    box-sizing: border-box;
    font-family: var(--tbp-font);
    background: #f8fafc;
}

.tbp-form-group input:focus,
.tbp-form-group textarea:focus,
.tbp-form-group select:focus {
    outline: none;
    border-color: var(--tbp-primary);
    background: white;
    box-shadow: 
        0 0 0 4px rgba(16, 185, 129, 0.1),
        0 4px 15px rgba(16, 185, 129, 0.1);
}

/* Payment Methods */
.tbp-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.tbp-payment-method {
    padding: 28px 24px;
    border: 2px solid var(--tbp-border);
    border-radius: var(--tbp-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: white;
    position: relative;
    overflow: hidden;
}

.tbp-payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(16, 185, 129, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tbp-payment-method:hover {
    border-color: var(--tbp-primary);
    transform: translateY(-6px);
    box-shadow: var(--tbp-shadow-sm);
}

.tbp-payment-method:hover::before {
    opacity: 1;
}

.tbp-payment-method.selected {
    border-color: var(--tbp-primary);
    background: #f0fdf4;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.tbp-payment-method-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.tbp-payment-method-name {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 15px;
}

.tbp-payment-method-desc {
    font-size: 12px;
    color: var(--tbp-text-light);
}

.tbp-qr-code-wrapper {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--tbp-border);
}

.tbp-qr-code {
    width: 200px;
    height: 200px;
    border-radius: 12px;
}

.tbp-upi-manual {
    padding: 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 2px solid var(--tbp-primary);
}

.tbp-upi-manual p {
    margin: 0 0 8px;
    color: var(--tbp-text);
}

.tbp-upi-id {
    font-size: 18px;
    font-weight: 700;
    color: var(--tbp-primary) !important;
    word-break: break-all;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-top: 12px !important;
}

.tbp-upi-instructions {
    margin: 16px 0 0;
    color: var(--tbp-text-light);
    font-size: 14px;
    line-height: 1.6;
}

.tbp-upi-instructions strong {
    color: var(--tbp-primary);
    font-size: 18px;
}

.tbp-upi-instructions small {
    display: block;
    margin-top: 8px;
    color: var(--tbp-text-muted);
}

.tbp-payment-summary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 28px;
    border-radius: var(--tbp-radius);
    margin-top: 24px;
    color: white;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--tbp-shadow);
}

.tbp-payment-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: floatGlow 4s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0%, 0%) rotate(0deg); }
    50% { transform: translate(-20%, 10%) rotate(10deg); }
}

.tbp-payment-summary h4 {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

.tbp-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.9;
    padding: 4px 0;
}

.tbp-summary-row span:last-child {
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

.tbp-summary-time {
    color: #10b981 !important;
}

.tbp-summary-row:empty,
.tbp-summary-date:empty,
.tbp-summary-time:empty,
.tbp-summary-amount:empty {
    display: none;
}

.tbp-summary-row:not(:empty):last-child {
    font-size: 20px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 12px;
}

/* Confirmation */
.tbp-confirmation {
    text-align: center;
    padding: 60px 40px;
    position: relative;
}

.tbp-success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--tbp-success) 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    margin: 0 auto 28px;
    animation: successPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    box-shadow: 
        0 20px 40px rgba(16, 185, 129, 0.4),
        inset 0 -4px 10px rgba(0,0,0,0.1),
        inset 0 4px 10px rgba(255,255,255,0.3);
}

.tbp-success-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes successPop {
    0% { transform: scale(0) rotate(-45deg); }
    70% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.tbp-confirmation h3 {
    font-size: 32px;
    font-weight: 700;
    padding-left: 24%;
    color: var(--tbp-success);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--tbp-success), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tbp-booking-id {
    font-size: 20px;
    font-weight: 700;
    color: var(--tbp-primary);
    margin-bottom: 32px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    border-radius: 12px;
    display: inline-block;
    border: 2px solid #a7f3d0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.tbp-confirmation-details {
    text-align: left;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 28px;
    border-radius: var(--tbp-radius);
    max-width: 380px;
    margin: 0 auto;
    border: 1px solid var(--tbp-border);
    box-shadow: var(--tbp-shadow-sm);
}

/* Footer Buttons */
.tbp-booking-footer {
    display: flex;
    justify-content: space-between;
    padding: 24px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--tbp-border);
}

.tbp-btn {
    padding: 16px 36px;
    border-radius: var(--tbp-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: var(--tbp-font);
    position: relative;
    overflow: hidden;
}

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

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

.tbp-btn-primary {
    background: linear-gradient(135deg, var(--tbp-primary) 0%, var(--tbp-primary-dark) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.tbp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

.tbp-btn-secondary {
    background: white;
    color: var(--tbp-text);
    border: 2px solid var(--tbp-border);
}

.tbp-btn-secondary:hover {
    background: #f1f5f9;
    border-color: var(--tbp-text-light);
    transform: translateY(-2px);
}

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

/* Error Messages */
.tbp-error-message {
    background: #fef2f2;
    color: var(--tbp-danger);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #fecaca;
}

/* Loading */
.tbp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    flex-direction: column;
    gap: 20px;
}

.tbp-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid var(--tbp-border);
    border-top-color: var(--tbp-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: relative;
}

.tbp-spinner::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px solid transparent;
    border-top-color: var(--tbp-primary-light);
    border-radius: 50%;
    animation: spin 0.5s linear infinite reverse;
}

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

.tbp-loading-text {
    font-size: 14px;
    color: var(--tbp-text-light);
    font-weight: 500;
}

/* Error Messages */
.tbp-error-message {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: var(--tbp-danger);
    padding: 16px 20px;
    border-radius: var(--tbp-radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    border: 2px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tbp-error-message::before {
    content: '⚠️';
    font-size: 18px;
}

.tbp-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--tbp-border);
    border-top-color: var(--tbp-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive */
@media (max-width: 640px) {
    .tbp-booking-container {
        border-radius: 0;
        box-shadow: none;
    }

    .tbp-booking-header {
        padding: 30px 20px;
    }

    .tbp-booking-header h2 {
        font-size: 24px;
    }

    .tbp-step-label {
        display: none;
    }

    .tbp-step-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .tbp-booking-body {
        padding: 24px;
    }

    .tbp-sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tbp-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tbp-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .tbp-booking-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
        gap: 12px;
    }

    .tbp-booking-footer .tbp-btn {
        width: 100%;
    }

    .tbp-payment-methods {
        grid-template-columns: 1fr;
    }

    .tbp-price-summary,
    .tbp-payment-summary {
        padding: 20px;
    }

    .tbp-confirmation {
        padding: 40px 20px;
    }

    .tbp-success-icon {
        width: 90px;
        height: 90px;
        font-size: 42px;
    }

    .tbp-confirmation h3 {
        font-size: 24px;
    }
}

/* Map and Contact Tiles */
.tbp-booking-map {
    max-width: 720px;
    margin: 0 auto 24px;
    border-radius: var(--tbp-radius-lg);
    overflow: hidden;
    box-shadow: var(--tbp-shadow-lg);
}

.tbp-booking-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

.tbp-contact-tiles {
    max-width: 720px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tbp-contact-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 20px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--tbp-radius-lg);
    text-decoration: none;
    color: white;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.tbp-contact-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tbp-primary), var(--tbp-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.tbp-contact-tile:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.25);
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
}

.tbp-contact-tile:hover::before {
    transform: scaleX(1);
}

.tbp-contact-icon {
    font-size: 40px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.tbp-contact-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

@media (max-width: 640px) {
    .tbp-contact-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tbp-contact-tile {
        padding: 24px 16px;
    }
    .tbp-contact-icon {
        font-size: 32px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
