Checkout Styles
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 120px;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.completed .step-icon {
    background: #013863;
    border-color: #004e89;
    color: white;
}

.step.active .step-icon {
    background: #0B5345;
    border-color: #0B5345;
    color: white;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

.step.completed .step-title,
.step.active .step-title {
    color: #343a40;
    font-weight: 600;
}

/* Checkout Form */
.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #004e89;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #004e89;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.payment-method:hover {
    border-color: #004e89;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-method.selected {
    border-color: #004e89;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.payment-radio {
    margin-right: 1rem;
}

.payment-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0B5345;
}

.payment-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #6c757d;
    width: 40px;
    text-align: center;
}

.payment-method.selected .payment-icon {
    color: #0B5345;
}

.payment-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.payment-desc {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Payment Details */
.payment-details {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0B5345;
}

.payment-details.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Checkout Summary */
.checkout-summary {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: sticky;
    top: 2rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0B5345;
}

.order-items {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.order-item-price {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.summary-item:last-of-type:not(.summary-total) {
    border-bottom: none;
}

.summary-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    border-top: 2px solid #0B5345;
    border-bottom: none;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* Place Order Button */
.btn-place-order {
    width: 100%;
    background: linear-gradient(135deg, #00345c, #004e89);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-place-order:hover:not(:disabled) {
    background: linear-gradient(135deg, #01365f, #004e89);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #0B5345;
}

.btn-place-order:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secure-checkout {
    text-align: center;
    color: #004e89;
    font-size: 0.9rem;
    font-weight: 500;
}

.secure-checkout i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-container {
        padding: 1rem 0.5rem;
    }
    
    .checkout-steps {
        margin-bottom: 2rem;
    }
    
    .checkout-steps::before {
        left: 5%;
        right: 5%;
    }
    
    .step {
        max-width: 80px;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-title {
        font-size: 0.75rem;
    }
    
    .checkout-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .payment-method {
        padding: 1rem;
    }
    
    .payment-icon {
        font-size: 1.25rem;
        width: 30px;
    }
    
    .checkout-summary {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .order-item-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .checkout-form {
        padding: 1rem;
    }
    
    .checkout-summary {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .btn-place-order {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Loading Animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-control.invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-control.valid {
    border-color: #004e89;
    background: #f8fff9;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-control.invalid + .error-message {
    display: block;
}

/* Custom Scrollbar */
.order-items::-webkit-scrollbar {
    width: 6px;
}

.order-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}