/* ============================================================
   Wellcom Club — Global Styles
   Brand primary: #0F332D
   ============================================================ */

:root {
    --wc-primary:        #0F332D;
    --wc-primary-dark:   #0A2420;
    --wc-primary-light:  #1A5C52;
    --wc-accent:         #C9A84C;
    --wc-bg:             #F5F7F6;
    --wc-surface:        #FFFFFF;
    --wc-text:           #1A2E2B;
    --wc-text-secondary: #4A6560;
    --wc-divider:        #D0E0DC;
}

html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--wc-bg);
    color: var(--wc-text);
    -webkit-font-smoothing: antialiased;
}

/* 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);
}

/* Hero gradient banner */
.wc-hero {
    background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-primary-light) 100%);
    color: #fff;
    border-radius: 12px;
    padding: 48px 40px;
}
.wc-hero h4, .wc-hero h5 {
    color: #fff;
}

/* 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); }
