/* Checkout Page Styles */

.checkout-section {
    padding: 120px 0 40px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    color: #BF1109;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step.active {
    background: #BF1109;
    color: white;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #BF1109;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number {
    background: white;
    color: #BF1109;
}

.checkout-content {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-main {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.checkout-step {
}

.checkout-step.active {
    display: block;
}

.checkout-step h2 {
    color: #BF1109;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Authentication Styles */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #BF1109;
    border-bottom: 2px solid #BF1109;
}

/* .auth-form {
    display: none;
} */

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #BF1109;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: #BF1109;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.guest-checkout {
    margin-top: 30px;
    text-align: center;
}

.divider {
    position: relative;
    margin: 30px 0;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 30px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #BF1109;
}

.payment-method input[type="radio"] {
    width: auto;
    margin: 0;
}

.method-icon {
    font-size: 1.5rem;
    color: #BF1109;
}

.method-text {
    font-weight: 600;
}

.card-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Order Review */
.order-items {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.item-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.item-price {
    margin-left: auto;
    font-weight: 600;
    color: #BF1109;
}

.order-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #BF1109;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

/* Navigation Buttons */
.checkout-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #BF1109;
    color: white;
}

.btn-primary:hover {
    background: #a00e08;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-main {
        padding: 20px;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 10px;
    }
    
    .step {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkout-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .checkout-step h2 {
        font-size: 1.5rem;
    }
    
    .auth-tabs {
        flex-direction: column;
    }
    
    .auth-tab {
        border-bottom: 1px solid #eee;
    }
} 