/* Booking Page Styles */

/* Booking Page */
.booking-page {
    padding: 80px 0;
    background-color: #f8f8f8;
    min-height: 80vh;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 100;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Class Information Card */
.class-info-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.class-info-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-item .text {
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    display: block;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* Class Information Box */
.class-info-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.class-info-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: orangered;
    margin-bottom: 25px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.info-item .icon {
    font-size: 1.2rem;
}

.info-item span:last-child {
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Pricing Section */
.pricing-section {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e0e0e0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card .features {
    flex-grow: 1;
    margin-bottom: 20px;
}

.pricing-card p {
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
}

/* PayPal Form Styling */
.pricing-card form {
    margin: 20px auto 10px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: auto;
}

/* Hide the default PayPal image button but keep it clickable */
.pricing-card input[type="image"] {
    position: absolute;
    width: 100%;
    height: 40px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Custom PayPal Button Styling */
.pricing-card form::after {
    content: "Pay with PayPal";
    display: inline-block;
    background: #0070ba;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 112, 186, 0.2);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    z-index: 1;
}

.pricing-card form:hover::after {
    background: #005ea6;
    box-shadow: 0 3px 6px rgba(0, 112, 186, 0.3);
}

.pricing-card.featured {
    border: 3px solid orangered;
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.card-header {
    background-color: white;
    color: #000;
    border: 2px solid orangered;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.most-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: orangered;
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 4rem;
}

.savings {
    background: none;
    color: #000;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    width: auto;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.features li {
    padding: 8px 0;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.features li:last-child {
    border-bottom: none;
}

.pay-now-btn {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.pay-now-btn:hover {
    background: #000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: orangered;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.terms-check input[type="checkbox"] {
    margin-top: 3px;
    transform: scale(1.2);
}

.terms-check label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.terms-check a {
    color: orangered;
    text-decoration: underline;
}

.book-now-btn {
    background-color: orangered;
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.book-now-btn:hover {
    background-color: #CC4125;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Payment Info */
.payment-info {
    margin-top: 30px;
    padding: 20px;
    background: #e8f5e8;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.payment-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.payment-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.payment-info ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
    font-size: 0.9rem;
}

.payment-info li {
    margin-bottom: 5px;
}

/* Back to Classes Card */
.back-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e0e0e0;
}

.back-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.back-card a {
    color: #0070ba;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-card a:hover {
    color: #005ea6;
    text-decoration: underline;
}

/* Booking Details Form */
.booking-details-form {
    margin-top: 20px;
}

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

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

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: orangered;
}

.submit-btn {
    background-color: orangered;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.submit-btn:hover {
    background-color: #CC4125;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .class-info-card {
        padding: 30px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}