.tgk-card {
    max-width: 720px;
    margin: 24px auto;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-top: 5px solid var(--tgk-accent-color, #1d4ed8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tgk-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.2;
}

.tgk-intro p,
.tgk-muted {
    margin-top: 0;
}

.tgk-muted {
    opacity: 0.75;
    font-size: 14px;
}

.tgk-form {
    margin-top: 18px;
}

.tgk-field {
    margin-bottom: 18px;
}

.tgk-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
}

.tgk-field input[type="text"],
.tgk-field textarea,
.tgk-field select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 16px;
    background: #fff;
    color: #111;
}

.tgk-options {
    display: grid;
    gap: 8px;
}

.tgk-options label,
.tgk-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
}

.tgk-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: var(--tgk-accent-color, #1d4ed8);
    color: #fff !important;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.tgk-button:hover,
.tgk-button:focus {
    background: var(--tgk-accent-color, #1d4ed8);
    filter: brightness(0.92);
    color: #fff !important;
}

.tgk-message {
    border-radius: 14px;
    padding: 14px 16px;
    margin: 16px 0;
}

.tgk-message-success {
    background: #d1e7dd;
    color: #0f5132;
}

.tgk-message-error,
.tgk-error {
    background: #f8d7da;
    color: #842029;
}

.tgk-info-block {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.tgk-required {
    color: #b91c1c;
}

.tgk-hidden-field {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.tgk-turnstile-wrap {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .tgk-card {
        margin: 12px;
        padding: 20px;
        border-radius: 14px;
    }

    .tgk-card h2 {
        font-size: 24px;
    }
}

.tgk-simple-captcha-wrap input[type="text"] {
    max-width: 220px;
}

.tgk-auto-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

.tgk-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--tgk-accent-color, #1d4ed8);
    font-weight: 800;
}

.tgk-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.tgk-brand-name {
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tgk-help-text {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.78;
}

.tgk-help-text p {
    margin: 0 0 6px;
}

.tgk-help-text a,
.tgk-footer-text a {
    color: var(--tgk-accent-color, #1d4ed8);
    font-weight: 700;
}

.tgk-footer-text {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    opacity: 0.8;
}

.tgk-footer-text p {
    margin: 0 0 6px;
}
