﻿body {
    background: #f5f7fa;
}

.checkout-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

    .checkout-header h1 {
        font-size: 2rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .checkout-header p {
        color: #7f8c8d;
        font-size: 1.1rem;
    }

.checkout-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .checkout-row {
        flex-direction: column;
    }
}

.checkout-form-section {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.order-summary-section {
    width: 380px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

@media (max-width: 768px) {
    .order-summary-section {
        width: 100%;
        position: static;
    }
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

    .form-label .required {
        color: #e74c3c;
    }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .form-select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.payment-methods {
    margin: 25px 0;
}

.payment-option {
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

    .payment-option:hover {
        border-color: #667eea;
        background: #f8f9ff;
    }

    .payment-option input[type="radio"] {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        cursor: pointer;
    }

    .payment-option.selected {
        border-color: #667eea;
        background: #f8f9ff;
    }

.payment-label {
    flex: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .payment-label strong {
        font-size: 1.05rem;
        color: #2c3e50;
        display: block;
        margin-bottom: 3px;
    }

    .payment-label small {
        color: #7f8c8d;
        font-size: 0.9rem;
    }

.order-summary-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #2c3e50;
}

    .summary-row strong {
        font-weight: 700;
    }

.summary-divider {
    border-top: 2px dashed #dee2e6;
    margin: 15px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 15px;
}

    .summary-total .amount {
        color: #667eea;
    }

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-checkout:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

    .btn-checkout:active {
        transform: translateY(0);
    }

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

    .security-badge i {
        color: #27ae60;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

    .feature-list li {
        padding: 8px 0;
        color: #7f8c8d;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .feature-list li i {
            color: #667eea;
            font-size: 1.1rem;
        }

.hidden {
    display: none;
}
