.pgc-form {
    max-width: 720px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
}

.pgc-form h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.75rem 0 1.25rem;
    padding-bottom: .625rem;
    border-bottom: 2px solid #e2e8f0;
}

.pgc-form h3:first-of-type {
    margin-top: 0;
}

.pgc-field {
    margin-bottom: 1.25rem;
}

.pgc-field label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: .375rem;
}

.pgc-field label span {
    color: #dc2626;
}

.pgc-field input[type="text"],
.pgc-field input[type="tel"],
.pgc-field input[type="email"],
.pgc-field input[type="number"],
.pgc-field textarea {
    width: 100%;
    padding: .625rem .75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: .875rem;
    font-family: inherit;
    background: #fff;
    color: #0f172a;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.pgc-field input:focus,
.pgc-field textarea:focus {
    outline: none;
    border-color: #015599;
    box-shadow: 0 0 0 3px rgba(1, 85, 153, .1);
}

.pgc-field input[type="file"] {
    width: 100%;
    padding: .5rem 0;
    font-size: .8125rem;
    font-family: inherit;
    color: #334155;
}

.pgc-hint {
    display: block;
    font-size: .75rem;
    color: #94a3b8;
    margin-top: .375rem;
    line-height: 1.9;
}

/* Payment */
.pgc-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1rem;
    margin-bottom: 1.25rem;
    background: #f1f7fb;
    border: 1px solid #cfe3f1;
    border-radius: 6px;
    font-size: .875rem;
    color: #334155;
}

.pgc-fee strong {
    font-size: 1rem;
    color: #015599;
}

.pgc-methods {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.pgc-methods > label:first-child {
    width: 100%;
}

.pgc-radio {
    display: inline-flex !important;
    align-items: center;
    gap: .5rem;
    flex: 1 1 240px;
    padding: .75rem 1rem;
    margin: 0 !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-weight: 500 !important;
    color: #334155;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.pgc-radio:hover {
    border-color: #93b8d4;
}

.pgc-radio:has(input:checked) {
    border-color: #015599;
    background: #f1f7fb;
    box-shadow: inset 0 0 0 1px #015599;
}

.pgc-radio input {
    margin: 0;
    accent-color: #015599;
}

.pgc-bank {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #e2e8f0;
}

.pgc-bank-info {
    padding: .875rem 1rem;
    margin-bottom: 1.25rem;
    background: #faf9f7;
    border: 1px solid #e7e5e0;
    border-right: 3px solid #015599;
    border-radius: 6px;
    font-size: .8125rem;
    line-height: 2.1;
    color: #334155;
    word-break: break-word;
}

/* Submit + messages */
.pgc-submit {
    width: 100%;
    margin-top: .5rem;
    padding: .8125rem 1.5rem;
    background: #015599;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}

.pgc-submit:hover {
    background: #01427a;
}

.pgc-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.pgc-message {
    padding: .75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    line-height: 1.9;
}

.pgc-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.pgc-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pgc-field.pgc-invalid input,
.pgc-field.pgc-invalid textarea {
    border-color: #dc2626;
    background: #fff5f5;
}

.pgc-field.pgc-invalid label {
    color: #b91c1c;
}

@media (max-width: 600px) {
    .pgc-form {
        padding: 1.25rem;
        margin: 1rem auto;
    }

    .pgc-radio {
        flex: 1 1 100%;
    }
}
