/* B2B Fitness Portal Styles */

.b2b-portal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Steps Navigation */
.b2b-portal-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.b2b-portal-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 0.5rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-weight: bold;
    color: #666;
}

.step.active .step-number {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.step-title {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.step.active .step-title {
    color: #0073aa;
    font-weight: bold;
}

/* Form Styles */
.b2b-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Price Summary */
.price-summary {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.price-summary > div {
    margin-bottom: 0.5rem;
}

.price-summary .total-price {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Selected Options */
.selected-options {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.selected-options h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.selected-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-options li {
    margin-bottom: 0.5rem;
}

/* Confirmation Step */
.confirmation-message {
    text-align: center;
    padding: 2rem 0;
}

.confirmation-icon {
    margin: 2rem 0;
    color: #000000;
}

.next-steps {
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.contact-info {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.button-primary:hover {
    background: #005177;
}

.button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button.loading {
    position: relative;
    color: transparent;
}

.button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

/* Error Messages */
.error-message {
    display: none;
    margin: 1rem 0;
    padding: 0.75rem;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
}

input.error {
    border-color: #dc3545;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .b2b-portal-container {
        margin: 0;
        padding: 0;
    }
    
    .b2b-portal-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .b2b-portal-steps::before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .step-number {
        margin: 0 1rem 0 0;
    }
    
    .step-title {
        text-align: left;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions .button {
        width: 100%;
    }
} 