/* Ski School Booking - Public Styles */

.ski-booking-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.ski-booking-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 40px;
}

.ski-booking-title {
    font-size: 28px;
    margin: 0 0 30px;
    color: #333;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #0073aa;
}

/* Messages */
#ski-booking-messages {
    margin-bottom: 20px;
}

.ski-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.ski-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ski-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ski-alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Form Sections */
.ski-form-section {
    margin-bottom: 35px;
}

.ski-form-section h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #0073aa;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

/* Form Rows */
.ski-form-row {
    margin-bottom: 20px;
}

.ski-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.ski-form-row input[type="text"],
.ski-form-row input[type="email"],
.ski-form-row input[type="tel"],
.ski-form-row input[type="date"],
.ski-form-row input[type="number"],
.ski-form-row select,
.ski-form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.ski-form-row input:focus,
.ski-form-row select:focus,
.ski-form-row textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.ski-form-help {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Lesson Description */
.lesson-description {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
}

.lesson-description p {
    margin: 5px 0;
}

.lesson-description small {
    color: #666;
}

/* Price Summary */
.ski-price-summary {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 4px;
    border: 2px solid #0073aa;
}

.ski-price-summary h3 {
    margin-top: 0;
}

.price-details {
    font-size: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

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

.price-row.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #333;
    font-size: 20px;
    color: #0073aa;
}

/* Form Actions */
.ski-form-actions {
    text-align: center;
    margin-top: 30px;
}

.ski-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.ski-btn-primary {
    background: #0073aa;
    color: #fff;
}

.ski-btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.ski-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Success Message */
.ski-success-message {
    text-align: center;
    padding: 40px 20px;
}

.ski-success-message h3 {
    color: #46b450;
    font-size: 28px;
    margin-bottom: 20px;
}

.ski-success-message p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.booking-summary {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 4px;
    margin-top: 25px;
    text-align: left;
}

.booking-summary p {
    margin: 10px 0;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .ski-booking-container {
        padding: 25px 20px;
    }
    
    .ski-booking-title {
        font-size: 24px;
    }
    
    .ski-form-section h3 {
        font-size: 18px;
    }
    
    .ski-btn {
        width: 100%;
        padding: 15px 20px;
    }
    
    .price-row.total {
        font-size: 18px;
    }
}
