/* Strength Club Booking - Frontend Styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
.scb-booking-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.scb-booking-container {
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

/* Promotional Banner */
.scb-promotional-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    overflow: hidden;
    min-height: 200px;
}

.scb-banner-image {
    flex: 1;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.scb-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.scb-promotional-banner:hover .scb-banner-image img {
    transform: scale(1.05);
}

.scb-banner-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.scb-banner-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.scb-banner-content p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.scb-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e02b20;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #e02b20;
}

.scb-visit-btn:hover {
    background-color: transparent;
    color: #e02b20;
    border-color: #e02b20;
    text-decoration: none;
    transform: translateY(-2px);
}

.scb-visit-btn svg {
    transition: transform 0.3s ease;
}

.scb-visit-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive design for promotional banner */
@media (max-width: 768px) {
    .scb-promotional-banner {
        flex-direction: column;
        min-height: auto;
    }

    .scb-banner-image {
        min-height: 150px;
        width: 100%;
    }

    .scb-banner-content {
        padding: 30px 20px;
        text-align: center;
        align-items: center;
    }

    .scb-banner-content h3 {
        font-size: 20px;
    }

    .scb-banner-content p {
        font-size: 14px;
    }
}

/* Header and Progress Bar */
.scb-booking-header {
    background-color: #e02b20;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.scb-booking-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    color: #fff;
}

.scb-progress-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.scb-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.scb-progress-step.active {
    opacity: 1;
}

.scb-progress-step.completed {
    opacity: 1;
}

.scb-step-number {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.scb-progress-step.active .scb-step-number {
    background-color: #fff;
    color: #e02b20;
    transform: scale(1.1);
}

.scb-progress-step.completed .scb-step-number {
    background-color: #fff;
    color: #e02b20;
}

.scb-step-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Styles */
.scb-booking-form {
    padding: 40px;
    position: relative;
    min-height: 500px;
}

.scb-form-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.scb-form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.scb-form-step h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
}

.scb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.scb-form-group {
    margin-bottom: 20px;
}

.scb-form-group label {
    display: block;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    font-size: 14px;
}

.scb-form-group input,
.scb-form-group select,
.scb-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    background-color: #fff;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.scb-form-group input:focus,
.scb-form-group select:focus,
.scb-form-group textarea:focus {
    border-color: #e02b20;
    transform: translateY(-2px);
}

.scb-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.scb-error-message {
    color: #e02b20;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    font-weight: 500;
}

/* Buttons */
.scb-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.scb-btn {
    padding: 14px 28px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.scb-btn:hover {
    transform: translateY(-2px);
}

.scb-btn-primary {
    background-color: #e02b20;
    color: #fff;
}

.scb-btn-primary:hover {
    background-color: #c02318;
}

.scb-btn-secondary {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.scb-btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

.scb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading spinner */
.scb-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    animation: scb-spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes scb-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Booking Summary */
.scb-booking-summary {
    background-color: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
}

.scb-summary-section {
    margin-bottom: 25px;
}

.scb-summary-section:last-child {
    margin-bottom: 0;
}

.scb-summary-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #e02b20;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scb-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.scb-summary-item:last-child {
    border-bottom: none;
}

.scb-summary-label {
    font-weight: 500;
    color: #000;
}

.scb-summary-value {
    color: #666;
    font-weight: 400;
}

/* Success and Error Messages */
.scb-success-message,
.scb-error-container {
    text-align: center;
    padding: 60px 40px;
    display: none;
}

.scb-success-message.show,
.scb-error-container.show {
    display: block;
    opacity: 1;
    transform: scale(1);
    animation: scb-fadeInScale 0.5s ease;
}

@keyframes scb-fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.scb-success-icon,
.scb-error-icon {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: bold;
}

.scb-success-icon {
    color: #28a745;
}

.scb-error-icon {
    color: #e02b20;
}

.scb-success-message h3,
.scb-error-container h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.scb-success-message p,
.scb-error-container p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scb-booking-container {
        margin: 0 20px;
    }

    .scb-booking-header {
        padding: 20px;
    }

    .scb-booking-header h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .scb-progress-bar {
        gap: 20px;
    }

    .scb-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .scb-step-label {
        font-size: 10px;
    }

    .scb-booking-form {
        padding: 20px;
    }

    .scb-form-step h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .scb-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .scb-form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .scb-btn {
        width: 100%;
        padding: 16px 28px;
    }

    .scb-booking-summary {
        padding: 20px;
    }

    .scb-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .scb-progress-bar {
        flex-direction: column;
        gap: 15px;
    }

    .scb-progress-step {
        flex-direction: row;
        gap: 10px;
    }

    .scb-step-number {
        margin-bottom: 0;
    }
}

/* Animation classes for step transitions */
.scb-form-step.slide-out-left {
    animation: scb-slideOutLeft 0.4s ease forwards;
}

.scb-form-step.slide-out-right {
    animation: scb-slideOutRight 0.4s ease forwards;
}

.scb-form-step.slide-in-left {
    animation: scb-slideInLeft 0.4s ease forwards;
}

.scb-form-step.slide-in-right {
    animation: scb-slideInRight 0.4s ease forwards;
}

@keyframes scb-slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes scb-slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(30px);
    }
}

@keyframes scb-slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scb-slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}