:root {
    --purple-primary: #b039d6;
    --purple-dark: #8b2fc9;
    --purple-hover: #9d2ec0;
    --purple-light: #f0e6f6;
    --border-color: #ddd;
    --text-primary: #333;
    --text-secondary: #555;
    --text-muted: #888;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fafafa;
}

.purchase-header {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
}

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

.purchase-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #fafafa;
    min-height: calc(100vh - 60px);
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 16px;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: block;
    font-size: 14px;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s ease;
    background-color: white;
}

.form-control:focus {
    border-color: var(--purple-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(176, 57, 214, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-radio {
    margin-bottom: 12px;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    color: var(--text-secondary);
    cursor: pointer;
    padding-left: 5px;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: 1px solid #adb5bd;
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--purple-primary);
    background-color: var(--purple-primary);
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}

.custom-control-input:checked ~ .custom-control-label {
    color: var(--purple-primary);
    font-weight: 500;
}

.btn-continue {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    border: none;
    color: white;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    margin-top: 20px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    text-transform: none;
}

.btn-continue:hover {
    background: linear-gradient(135deg, var(--purple-hover) 0%, #7628b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 57, 214, 0.3);
    color: white;
}

.btn-continue:active {
    transform: translateY(0);
}

.btn-continue:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

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

    .btn-continue {
        font-size: 16px;
        padding: 14px 28px;
    }

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

@media (max-width: 576px) {
    .purchase-body {
        padding: 30px 20px;
    }

    .purchase-header {
        padding: 16px;
    }

    .purchase-header h4 {
        font-size: 18px;
    }
}
