
.form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.form-title {
    color: #0d6efd;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #0d6efd;
}
.btn-primary {
    padding: 12px;
    font-weight: 600;
    margin-top: 10px;
}
.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}
.form-label.required::after {
    content: " *";
    color: #dc3545;
}
.address-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.section-title {
    color: #0d6efd;
    margin-bottom: 15px;
    font-weight: 600;
}
.input-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}
.was-validated .form-control:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.was-validated .form-control:valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}
.phone-input-group {
    display: flex;
}
.phone-prefix {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 0.375rem 0 0 0.375rem;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.phone-input {
    border-radius: 0 0.375rem 0.375rem 0;
    flex: 1;
}
.paste-info {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 5px;
}
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-check {
    padding-left: 2.5em;
    margin-bottom: 0.5rem;
}
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
}
.form-check-label {
    font-weight: 500;
}
.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}
.payment-box {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.payment-box:hover, .payment-box.selected {
    border-color: #0d6efd;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #e8f4ff;
}
.payment-box.selected {
    border-width: 3px;
}
.payment-title {
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 5px;
}
.payment-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745;
}
.payment-original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
}
.payment-save {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
}
.payment-total {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}
.payment-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #dee2e6;
}
.total-section {
    background-color: #e8f5e9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    display: none;
}
.total-title {
    font-weight: 600;
    color: #0d6efd;
}
.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}
.submit-btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    font-weight: 600;
}
.payment-type-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.credit-card-form {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    display: none;
}
.form-select:disabled {
    background-color: #e9ecef;
    opacity: 0.7;
}
.card-icon {
    font-size: 24px;
    margin-right: 10px;
    color: #6c757d;
}
.agreement-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.agreement-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}
.agreement-link:hover {
    text-decoration: underline;
}
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}