.purchase-header {
    background: linear-gradient(135deg, #b039d6 0%, #8b2fc9 100%);
    color: white;
    padding: 18px 24px;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 8px rgba(176, 57, 214, 0.2);
    position: relative;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.back-btn:hover {
    color: #f0e6f6;
    text-decoration: none;
}

.purchase-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.purchase-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 30px 80px;
    background: #fafafa;
    min-height: calc(100vh - 54px);
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.purchase-form {
    background: white;
    padding: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
    transition: all 0.2s ease;
    background-color: white;
    height: auto;
}

.form-control:focus {
    border-color: #b039d6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(176, 57, 214, 0.1);
}

select.country-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

.need-multiple-link {
    display: block;
    margin-top: 16px;
    text-align: center;
    color: #b039d6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.need-multiple-link:hover {
    color: #8b2fc9;
    text-decoration: none;
}

.form-text {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    line-height: 1.4;
}

.btn-continue {
    background: linear-gradient(135deg, #b039d6 0%, #8b2fc9 100%);
    border: none;
    color: white;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 24px;
    margin-top: 30px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    display: block;
    box-shadow: 0 4px 12px rgba(176, 57, 214, 0.25);
    letter-spacing: 0.3px;
}

.btn-continue:hover {
    background: linear-gradient(135deg, #9d2ec0 0%, #7628b3 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(176, 57, 214, 0.35);
}

.alert {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: none;
}

.alert-danger {
    background-color: #fef2f2;
    color: #dc2626;
}

.alert-info {
    background-color: #eff6ff;
    color: #2563eb;
}

.website-support-alert {
    margin-top: 12px;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.hidden {
    display: none;
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 16px 24px;
}

@media (max-width: 768px) {
    .purchase-body {
        padding: 40px 20px 60px;
    }

    .page-title {
        font-size: 24px;
    }

    .form-group label {
        font-size: 14px;
    }

    .btn-continue {
        font-size: 15px;
        margin-top: 24px;
    }
}
