/* Checkout Page Styles */

.checkout-section {
    background-color: #f8f9fa;
    min-height: 80vh;
}

.checkout-form-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.order-summary-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    /* Adjust based on navbar height */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border-color: #dee2e6;
}

.form-control:focus,
.form-select:focus {
    border-color: #2f80ff;
    box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f1f1;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 1rem;
}

.summary-details h6 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.summary-details small {
    color: #6c757d;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f8f9fa;
}

.payment-methods {
    margin-top: 2rem;
}

.payment-option {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #2f80ff;
    background-color: #f8fbff;
}

.payment-option.selected {
    border-color: #2f80ff;
    background-color: #f0f7ff;
    position: relative;
}

.btn-place-order {
    background-color: #2f80ff;
    color: white;
    font-weight: 600;
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    border: none;
    transition: background-color 0.2s;
}

.btn-place-order:hover {
    background-color: #1a6dff;
}