/* MaxSocial — Einladung Landing Page
 * Self-contained Auth-Layout (kein Dashboard-Chrome).
 * Card mittig, Logo + Headline, AGB-Checkbox + Submit-Button.
 */

html, body { margin: 0; padding: 0; }

.ms-body--einladung {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 800px 600px at 20% 0%, rgba(238, 113, 30, 0.08), transparent 60%),
        radial-gradient(ellipse 800px 600px at 80% 100%, rgba(32, 80, 157, 0.08), transparent 60%),
        var(--ms-bg, #FAF7F2);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ms-text, #18223C);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.ms-einladung-shell {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.ms-einladung-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}
.ms-einladung-brand__signet {
    width: 40px;
    height: 40px;
    display: block;
}
.ms-einladung-brand__wordmark {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: var(--ms-gradient-text, linear-gradient(135deg, #EE711E, #E71F81 50%, #20509D));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ms-einladung-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 12px 40px rgba(24, 34, 60, 0.08);
    text-align: center;
}

.ms-einladung-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(238, 113, 30, 0.12), rgba(32, 80, 157, 0.12));
    color: var(--ms-text, #18223C);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ms-einladung-card__icon--warn {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.10), rgba(245, 158, 11, 0.10));
    color: #B91C1C;
}

.ms-einladung-card__headline {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ms-einladung-card__intro {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(24, 34, 60, 0.75);
    margin: 0 0 28px;
}
.ms-einladung-card__intro strong {
    color: var(--ms-text, #18223C);
    font-weight: 600;
}

.ms-einladung-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 16px;
    text-align: left;
}

.ms-einladung-agb-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(24, 34, 60, 0.85);
    cursor: pointer;
    user-select: none;
}
.ms-einladung-agb-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #E71F81;
    flex-shrink: 0;
    cursor: pointer;
}
.ms-einladung-agb-label a {
    color: #20509D;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ms-einladung-agb-label a:hover { text-decoration: none; }

.ms-einladung-feedback {
    font-size: 14px;
    color: #B91C1C;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
}

.ms-einladung-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: var(--ms-gradient-brand, linear-gradient(135deg, #EE711E, #E71F81 50%, #20509D));
    color: #FFFFFF;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 4px 14px rgba(231, 31, 129, 0.25);
}
.ms-einladung-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(231, 31, 129, 0.35);
}
.ms-einladung-submit:active:not(:disabled) {
    transform: translateY(0);
}
.ms-einladung-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ms-einladung-secondary {
    display: inline-block;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background: rgba(24, 34, 60, 0.06);
    color: var(--ms-text, #18223C);
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.15s ease;
}
.ms-einladung-secondary:hover {
    background: rgba(24, 34, 60, 0.10);
}

.ms-einladung-card__hint {
    font-size: 13px;
    color: rgba(24, 34, 60, 0.55);
    margin: 16px 0 0;
    text-align: center;
}

.ms-einladung-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: rgba(24, 34, 60, 0.5);
}
.ms-einladung-footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 480px) {
    .ms-einladung-card { padding: 28px 22px; }
    .ms-einladung-card__headline { font-size: 22px; }
}
