
/* =========================================================
   ZODIAX PICTURES
   LOGIN / REGISTER
   GLOBAL THEME CSS
   ========================================================= */

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #050505;
    color: #f5f5f5;

    transition:
        background-color .25s ease,
        color .25s ease;
}


/* =========================================================
   DARK THEME
   ========================================================= */

body:not(.light-mode) {

    --bg: #050505;
    --card: #0d0d0d;
    --card2: #121212;

    --text: #f5f5f5;
    --muted: #999;

    --border: #292929;
    --input: #101010;

    --accent: #e50914;
    --accent-hover: #ff1b26;

    --error-bg: #2a0808;
    --error-border: #7d1111;

    --success-bg: #08240f;
    --success-border: #17652e;
}


/* =========================================================
   LIGHT THEME
   Übernahme von settings.php
   ========================================================= */

body.light-mode {

    --bg: #f4f4f4;
    --card: #ffffff;
    --card2: #f8f8f8;

    --text: #151515;
    --muted: #666;

    --border: #d8d8d8;
    --input: #ffffff;

    --accent: #c9000b;
    --accent-hover: #e0000c;

    --error-bg: #fff0f0;
    --error-border: #e0a0a0;

    --success-bg: #effaf2;
    --success-border: #9ac9a5;
}


/* =========================================================
   BODY
   ========================================================= */

body {
    background: var(--bg);
    color: var(--text);
}


/* =========================================================
   PAGE
   ========================================================= */

.register-page {

    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}


/* =========================================================
   CARD
   ========================================================= */

.register-card {

    width: 100%;
    max-width: 560px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 6px;

    padding: 45px 42px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.35);

    transition:
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* =========================================================
   HEADER
   ========================================================= */

.register-header {

    text-align: center;

    margin-bottom: 35px;
}


.register-logo {

    font-size: 18px;

    font-weight: 700;

    letter-spacing: .25em;

    color: var(--text);
}


.register-line {

    width: 55px;
    height: 2px;

    background: var(--accent);

    margin: 18px auto 22px;
}


.register-header h1 {

    margin: 0;

    font-size: 32px;

    font-weight: 800;

    letter-spacing: .08em;
}


.register-header p {

    margin:
        10px
        0
        0;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   FORM
   ========================================================= */

.register-form {

    width: 100%;
}


.form-group {

    margin-bottom: 22px;
}


.form-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .04em;
}


.form-group small {

    display: block;

    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   INPUTS
   ========================================================= */

.form-group input {

    width: 100%;

    height: 48px;

    padding:
        0
        14px;

    border: 1px solid var(--border);

    border-radius: 4px;

    background: var(--input);

    color: var(--text);

    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


.form-group input:focus {

    border-color: var(--accent);

    box-shadow:
        0 0 0 2px
        rgba(229,9,20,.12);
}


.form-group input::placeholder {

    color: var(--muted);
}


/* =========================================================
   AUTOFILL
   ========================================================= */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {

    -webkit-text-fill-color: var(--text);

    transition:
        background-color 5000s ease-in-out 0s;
}


/* =========================================================
   FORM ROW
   ========================================================= */

.form-row {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 18px;
}


/* =========================================================
   REGISTRATION CODE BOX
   ========================================================= */

.registration-code-box {

    background: var(--card2);

    border: 1px solid var(--border);

    border-left:
        3px solid
        var(--accent);

    padding: 18px;

    margin-bottom: 25px;

    border-radius: 4px;
}


.registration-code-box p {

    margin: 0 0 10px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;
}


.registration-code-box p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.checkbox {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin:
        25px
        0;
}


.checkbox input {

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    margin-top: 2px;

    accent-color: var(--accent);
}


.checkbox label {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.5;
}


.checkbox a {

    color: var(--text);

    text-decoration: underline;
}


.checkbox a:hover {

    color: var(--accent);
}


/* =========================================================
   BUTTON
   ========================================================= */

.register-button {

    width: 100%;

    min-height: 50px;

    border: none;

    border-radius: 4px;

    background: var(--accent);

    color: #fff;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: .08em;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .1s ease,
        box-shadow .2s ease;
}


.register-button:hover {

    background: var(--accent-hover);

    box-shadow:
        0 6px 20px
        rgba(229,9,20,.20);
}


.register-button:active {

    transform: translateY(1px);
}


/* =========================================================
   LOGIN ERROR
   ========================================================= */

.login-error {

    margin-bottom: 22px;

    padding: 14px 16px;

    background: var(--error-bg);

    border:
        1px solid
        var(--error-border);

    border-left:
        3px solid
        var(--accent);

    border-radius: 4px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   LOGIN SUCCESS
   ========================================================= */

.login-success {

    margin-bottom: 22px;

    padding: 14px 16px;

    background: var(--success-bg);

    border:
        1px solid
        var(--success-border);

    border-left:
        3px solid
        #27ae60;

    border-radius: 4px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FORGOT PASSWORD
   ========================================================= */

.forgot-password {

    text-align: center;

    margin-top: 18px;
}


.forgot-password-button {

    appearance: none;

    border: none;

    padding: 4px 0;

    background: transparent;

    color: var(--muted);

    font-size: 13px;

    cursor: pointer;

    text-decoration: underline;

    transition:
        color .2s ease;
}


.forgot-password-button:hover {

    color: var(--accent);
}


/* =========================================================
   FOOTER
   ========================================================= */

.register-footer {

    margin-top: 28px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--border);

    text-align: center;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;
}


.register-footer a {

    color: var(--text);

    font-weight: 700;

    text-decoration: none;
}


.register-footer a:hover {

    color: var(--accent);
}


/* =========================================================
   RECOVERY OVERLAY
   ========================================================= */

.recovery-overlay {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0,0,0,.78);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}


.recovery-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   RECOVERY BOX
   ========================================================= */

.recovery-box {

    position: relative;

    width: 100%;

    max-width: 470px;

    padding: 38px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 6px;

    box-shadow:
        0 25px 80px
        rgba(0,0,0,.45);

    transform:
        translateY(10px)
        scale(.98);

    transition:
        transform .2s ease;
}


.recovery-overlay.active
.recovery-box {

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   RECOVERY CLOSE
   ========================================================= */

.recovery-close {

    position: absolute;

    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    color: var(--muted);

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    transition:
        color .2s ease;
}


.recovery-close:hover {

    color: var(--accent);
}


/* =========================================================
   RECOVERY TITLE
   ========================================================= */

.recovery-title {

    margin-bottom: 14px;

    font-size: 24px;

    font-weight: 800;

    letter-spacing: .06em;
}


.recovery-text {

    margin:
        0
        0
        25px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   RECOVERY EMAIL
   ========================================================= */

.recovery-box .register-form {

    margin-top: 5px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .register-page {

        padding:
            20px
            12px;
    }


    .register-card {

        padding:
            32px
            22px;
    }


    .register-header h1 {

        font-size: 27px;
    }


    .register-logo {

        font-size: 15px;

        letter-spacing: .18em;
    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;
    }


    .recovery-box {

        padding:
            32px
            22px;
    }


    .recovery-title {

        font-size: 21px;
    }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 380px) {

    .register-card {

        padding:
            28px
            18px;
    }


    .register-header h1 {

        font-size: 24px;
    }


    .register-button {

        font-size: 13px;
    }

}



 
.back-button {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin-top: 12px;
    padding: 14px 20px;

    text-align: center;
    text-decoration: none;

    border: 1px solid var(--border);
    border-radius: 4px;

    background: transparent;
    color: var(--text);

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.back-button:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}
 .honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================================
   THEME SWITCH
   ========================================================= */

.register-theme-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    background: var(--card2);
    border-radius: 4px;
}

.register-theme-label {
    margin-right: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.register-theme-option {
    appearance: none;
    border: 1px solid transparent;
    padding: 5px 8px;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.register-theme-option:hover,
.register-theme-option.active {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(229,9,20,.07);
}

.register-theme-separator {
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 600px) {
    .register-theme-switch {
        margin-bottom: 22px;
        padding: 8px 9px;
    }

    .register-theme-label {
        display: none;
    }
}
