
/**
 * NBX-ACCOUNT-002.2
 * Mein NorthBeat – Northern Pulse
 */

.nbx-account {
    padding: clamp(48px, 7vw, 100px) 20px;
}

.nbx-account__container {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.nbx-account__hero {
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(34, 211, 238, .2);
    border-radius: 24px;
    background: linear-gradient(
        145deg,
        #101e30 0%,
        #0b1524 100%
    );
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
    color: #e1e7ee;
}

.nbx-account__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #67e8f9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.nbx-account__hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.12;
}

.nbx-account__hero > p {
    max-width: 680px;
    color: #cbd5e1;
    line-height: 1.7;
}

.nbx-account__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 32px 0;
}

.nbx-account__feature {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
}

.nbx-account__feature span {
    font-size: 26px;
}

.nbx-account__feature h2 {
    margin: 14px 0 8px;
    color: #fff;
    font-size: 19px;
}

.nbx-account__feature p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.nbx-account__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nbx-account__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.nbx-account__button:hover {
    transform: translateY(-2px);
}

.nbx-account__button--primary {
    background: #22d3ee;
    color: #081522;
}

.nbx-account__button--secondary {
    border: 1px solid rgba(103, 232, 249, .45);
    color: #e1e7ee;
}

.nbx-account__status,
.nbx-account__notice {
    margin-top: 20px;
    font-size: 14px;
    color: #cbd5e1;
}

@media (max-width: 640px) {
    .nbx-account__features {
        grid-template-columns: 1fr;
    }

    .nbx-account__actions {
        flex-direction: column;
    }

    .nbx-account__button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nbx-account__button {
        transition: none;
    }
}

/**
 * NBX-ACCOUNT-002.3
 * Anmeldeformular
 */

.nbx-account__login {
    max-width: 520px;
    margin: 0 auto;
}

.nbx-account__form {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.nbx-account__field {
    display: grid;
    gap: 8px;
}

.nbx-account__field label {
    color: #e1e7ee;
    font-size: 14px;
    font-weight: 600;
}

.nbx-account__field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid rgba(103, 232, 249, .2);
    border-radius: 10px;
    background: #091523;
    color: #fff;
    font: inherit;
}

.nbx-account__field input:focus {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.nbx-account__form button {
    width: 100%;
    cursor: pointer;
    border: 0;
    font: inherit;
}

.nbx-account__login-links {
    margin-top: 26px;
    text-align: center;
}

.nbx-account__login-links p {
    margin: 10px 0;
    color: #cbd5e1;
    font-size: 14px;
}

.nbx-account__login-links a {
    color: #67e8f9;
    text-decoration: none;
}

.nbx-account__login-links a:hover {
    text-decoration: underline;
}

.nbx-account__error {
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(248, 113, 113, .35);
    border-radius: 10px;
    background: rgba(248, 113, 113, .08);
    color: #fecaca;
    font-size: 14px;
    line-height: 1.5;
}

/**
 * NBX-ACCOUNT-002.4
 * Registrierungsformular
 */

.nbx-account__field label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.nbx-account__field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    margin: 3px 0 0;
    accent-color: #22d3ee;
}

.nbx-account__form button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================
   NBX-ACCOUNT-002.7
   Abmeldebutton
   ========================================== */

.nbx-account__logout {
    margin-top: 24px;
}

.nbx-account__logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 18px;

    background: var(--nbx-surface);
    border: 1px solid var(--nbx-border);
    border-radius: 12px;

    color: var(--nbx-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: border-color .2s ease, color .2s ease;
}

.nbx-account__logout-button:hover {
    border-color: var(--nbx-cyan);
    color: var(--nbx-cyan);
}

.nbx-account__logout-button svg {
    flex-shrink: 0;
}

/* ==========================================
   NBX-ACCOUNT-002.5h
   E-Mail-Bestätigung – Rückmeldungen
   ========================================== */

.nbx-account__verification {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin: 24px 0;
    padding: 18px;

    border: 1px solid;
    border-radius: 14px;

    text-align: left;
}

.nbx-account__verification--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.35);
}

.nbx-account__verification--error {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.35);
}

.nbx-account__verification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
}

.nbx-account__verification--success
.nbx-account__verification-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.nbx-account__verification--error
.nbx-account__verification-icon {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.nbx-account__verification strong {
    display: block;
    margin-bottom: 6px;
    color: var(--nbx-text, #ffffff);
    font-size: 16px;
}

.nbx-account__verification p {
    margin: 0;
    line-height: 1.6;
}

.nbx-account__verification a {
    display: inline-block;
    margin-top: 12px;
    color: var(--nbx-cyan, #00d4e8);
    font-weight: 700;
    text-decoration: none;
}

.nbx-account__verification a:hover {
    text-decoration: underline;
}

/* ==========================================
   NBX-ACCOUNT-002.8
   Persönliche Begrüßung
   ========================================== */

.nbx-account__welcome {
    margin: 28px 0 20px;
    padding: 24px;

    background: rgba(0, 212, 232, 0.06);
    border: 1px solid rgba(0, 212, 232, 0.22);
    border-radius: 18px;

    text-align: center;
}

.nbx-account__welcome h2 {
    margin: 0 0 10px;

    color: #ffffff;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
}

.nbx-account__welcome p {
    margin: 0;
    color: #dce8ef;
    line-height: 1.6;
}

/* ==========================================
   NBX-ACCOUNT-003.5b.2
   Bestätigungs-E-Mail erneut anfordern
   ========================================== */

.nbx-account__resend h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.nbx-account__resend .nbx-account__form {
    margin-top: 28px;
}

.nbx-account__resend .nbx-account__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}


