/* Registration Tag — page-specific styles (aw- namespace) */

/* --- Tag card --- */
.aw-tag {
    padding: clamp(56px, 8vw, 96px) 0 0;
}

.aw-tag__wrapper {
    max-width: 680px;
}

.aw-tag__card {
    padding: clamp(36px, 5vw, 56px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background: var(--aw-white);
    box-shadow: var(--aw-shadow-soft);
    text-align: center;
}

.aw-tag__icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aw-primary), var(--aw-accent));
    color: var(--aw-white);
    font-size: 2rem;
}

.aw-tag__heading {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.aw-tag__heading-name {
    color: var(--aw-accent);
}

.aw-tag__subline {
    margin-bottom: 28px;
    color: var(--aw-muted);
}

.aw-tag__details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 0 34px;
    padding: 24px;
    border-radius: var(--aw-radius-sm);
    background: var(--aw-surface);
}

.aw-tag__details div dt {
    margin-bottom: 6px;
    color: var(--aw-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.aw-tag__details div dd {
    margin: 0;
    color: var(--aw-heading);
    font-weight: 660;
    word-break: break-word;
}

.aw-tag__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.aw-tag__recheck {
    display: inline-block;
    margin-top: 22px;
    color: var(--aw-accent);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 220ms ease;
}

.aw-tag__recheck:hover {
    color: var(--aw-primary);
}

/* --- Alert --- */
.aw-tag-alert {
    margin-bottom: 22px;
    padding: 12px 18px;
    border-radius: var(--aw-radius-sm);
    font-size: 0.92rem;
    font-weight: 560;
}

.aw-tag-alert--error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #B91C1C;
}

/* --- Lookup form --- */
.aw-tag-form {
    max-width: 440px;
    margin: 0 auto;
    text-align: left;
}

.aw-tag-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.aw-tag-form__field label {
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--aw-heading);
}

.aw-tag-form__field input {
    padding: 12px 16px;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: var(--aw-white);
    color: var(--aw-heading);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 220ms ease, box-shadow 220ms ease;
    outline: none;
}

.aw-tag-form__field input:focus {
    border-color: var(--aw-accent);
    box-shadow: 0 0 0 3px rgba(41, 156, 183, 0.15);
}

.aw-tag-form .aw-button {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

/* --- Closing CTA corner decoration --- */
.aw-tag-cta .aw-cta {
    position: relative;
    overflow: hidden;
}

.aw-tag-cta .aw-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: clamp(200px, 26vw, 320px);
    height: clamp(200px, 26vw, 320px);
    background: url("../images/decor/aviation-swirl.png") no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.aw-tag-cta .aw-cta > div {
    position: relative;
    z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .aw-tag__details {
        grid-template-columns: 1fr;
    }

    .aw-tag__actions {
        flex-direction: column;
        align-items: center;
    }

    .aw-tag__actions .aw-button {
        width: 100%;
        justify-content: center;
    }
}
