/* ============================================================
   Wellcom Club — Global Styles
   Brand primary: #1C3525
   ============================================================ */

:root {
    --wc-primary:        #1C3525;
    --wc-primary-dark:   #172d1f;
    --wc-primary-light:  #2d5a3d;
    --wc-accent:         #c9a84c;
    --wc-accent-dark:    #b8963d;
    --wc-bg:             #FAF7F2;
    --wc-warm:           #F5F0E8;
    --wc-stone:          #ECE9E4;
    --wc-surface:        #FFFFFF;
    --wc-ink:            #111820;
    --wc-text:           #2a2a2a;
    --wc-text-secondary: #6b6b6b;
    --wc-divider:        #ECE9E4;
    --wc-radius:         14px;
    --wc-shadow:         0 12px 40px rgba(28, 43, 58, .10);
}

html, body {
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--wc-bg);
    color: var(--wc-text);
    -webkit-font-smoothing: antialiased;
}

.wc-public-main {
    min-height: calc(100vh - 56px);
    padding-bottom: 72px;
    background: var(--wc-bg);
}

.wc-appbar-cta {
    background-color: var(--wc-accent) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    margin-right: 8px !important;
    text-transform: none !important;
}

.wc-appbar-cta:hover {
    background-color: var(--wc-accent-dark) !important;
}

.wc-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    line-height: 0;
}

.wc-logo-image {
    display: block;
    width: auto;
    max-width: 190px;
}

.wc-public-main :where(h1, h2, h3, h4, h5, h6, p, span, em, strong, .mud-typography) {
    outline: none !important;
    box-shadow: none !important;
}

.wc-public-main :where(h1, h2, h3, h4, h5, h6, p, span, em, strong, .mud-typography):focus,
.wc-public-main :where(h1, h2, h3, h4, h5, h6, p, span, em, strong, .mud-typography):focus-visible,
.wc-hero-title,
.wc-hero-title * {
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.wc-precheckin-shell {
    max-width: 800px;
    margin: 0 auto;
    padding: 42px 0 4rem;
}

/* Links */
a, .btn-link {
    color: var(--wc-primary);
}
a:hover {
    color: var(--wc-primary-light);
}

/* Primary button */
.btn-primary {
    color: #fff;
    background-color: var(--wc-primary);
    border-color: var(--wc-primary-dark);
}
.btn-primary:hover {
    background-color: var(--wc-primary-light);
    border-color: var(--wc-primary);
}

/* Focus rings */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(15,51,45,0.4);
}

.wc-portal-hero {
    background:
        radial-gradient(circle at top right, rgba(201,168,76,.16), transparent 30%),
        linear-gradient(145deg, var(--wc-primary) 0%, var(--wc-primary-dark) 100%);
    color: #fff;
    border-radius: var(--wc-radius);
    padding: 56px 40px;
    box-shadow: 0 24px 70px rgba(28, 43, 58, .14);
}
.wc-portal-hero h4, .wc-portal-hero h5 {
    color: #fff;
}

.wc-hero-copy {
    color: rgba(255,255,255,.78);
    max-width: 650px;
    line-height: 1.85;
}

.wc-hero-panel {
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    padding: 24px;
}

.wc-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

.wc-hero-title em {
    color: var(--wc-accent);
    font-style: italic;
}

.wc-eyebrow {
    color: var(--wc-accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.wc-section-title {
    color: var(--wc-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.12;
}

.wc-action-card {
    height: 100%;
    border: 1px solid var(--wc-divider);
    border-radius: var(--wc-radius);
    padding: 28px;
    background: var(--wc-surface);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.wc-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--wc-shadow);
    border-color: transparent;
}

.wc-action-card.primary {
    border-top: 4px solid var(--wc-accent);
}

.wc-actions-section {
    background: var(--wc-bg);
    margin: 0 -24px;
    padding: 48px 24px 64px;
}

.wc-card-cta {
    border-radius: 999px !important;
    text-transform: none !important;
    font-weight: 700 !important;
}

.wc-link-note {
    min-height: 0;
}

.wc-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--wc-warm);
    color: var(--wc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.wc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: rgba(201,168,76,.16);
    color: #7a5c0a;
    padding: 6px 14px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.wc-page-card {
    border: 1px solid var(--wc-divider);
    border-radius: var(--wc-radius);
    background: #fff;
    box-shadow: 0 4px 24px rgba(28, 43, 58, .08);
}

@media (max-width: 600px) {
    .wc-appbar-cta {
        display: none !important;
    }

    .wc-portal-hero {
        padding: 34px 24px;
    }

    .wc-actions-section {
        margin: 0 -16px;
        padding: 40px 16px 54px;
    }

    .wc-precheckin-shell {
        padding: 30px 16px 4rem;
    }
}

/* Feature cards */
.wc-feature-card {
    border-left: 4px solid var(--wc-primary);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wc-feature-card:hover {
    box-shadow: 0 6px 20px rgba(15,51,45,0.12) !important;
    transform: translateY(-2px);
}

/* Contact card */
.wc-contact-card {
    border-top: 3px solid var(--wc-accent);
}

/* Accent badge */
.wc-badge-accent {
    background-color: var(--wc-accent);
    color: #fff;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Step number circles */
.wc-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--wc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Icon circle bg */
.wc-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(15,51,45,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Validation */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
.invalid {
    outline: 1px solid #e50000;
}
.validation-message {
    color: #e50000;
}

/* Blazor error */
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    border-radius: 8px;
}
.blazor-error-boundary::after {
    content: "Si è verificato un errore.";
}

/* Checkbox */
.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Floating label placeholders */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--wc-bg); }
::-webkit-scrollbar-thumb { background: var(--wc-divider); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wc-text-secondary); }
