/**
 * SeAT login page layout
 */
@media all {
    html, body {
        height: auto;
    }

    /* =========================================================
       KEEP THIS BACKGROUND BLOCK AS-IS (per your request)
       ========================================================= */
    .login-page, .register.body {
        color: rgb(255,255,255);
        background-image: url(https://static0.polygonimages.com/wordpress/wp-content/uploads/chorus/uploads/chorus_asset/file/24824035/eve_board_game_crop_2.jpg?w=1600&h=900&fit=crop);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    .login-box, .register-box {
        width: 360px;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        background: rgba(48,48,48,.8);
        transform: translate(-50%, -50%);
        border: 5px solid #ecf0f1;
        border-radius: 40px;
        box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    }

    .login-logo, .register-logo {
        font-size: 35px;
        text-align: center;
        margin-bottom: 25px;
        font-weight: 300;
        content: url(https://images.evetech.net/corporations/98810644/logo?size=128);
        margin-top: 50px;
    }

    .login-logo::before, .register-logo::before {
        display: block;
        width: 128px;
        height:128px;
        margin: 0 auto;
        border-radius: 50%;
        margin-bottom: 50px;
    }

    .login-box-body, .register-box-body {
        background: transparent;
        padding: 20px;
        border-top: 0;
        color: inherit;
    }

    /* =========================================================
       Echo Protocol additions (do not replace the background image)
       ========================================================= */

    /* Subtle scanlines + dark vignette over the existing background image */
    .login-page::before,
    body.login-page::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background:
            radial-gradient(circle at 50% 25%, rgba(255,180,60,0.10), rgba(0,0,0,0) 55%),
            linear-gradient(to bottom, rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
            repeating-linear-gradient(
                to bottom,
                rgba(255,255,255,0.03) 0px,
                rgba(255,255,255,0.03) 1px,
                rgba(0,0,0,0.00) 3px,
                rgba(0,0,0,0.00) 6px
            );
        opacity: 0.55;
        z-index: 0;
    }

    /* Ensure the login box sits above overlay */
    .login-box, .register-box {
        z-index: 1;

        /* Black-ops frame + cold amber tint */
        background: rgba(12, 14, 18, 0.74) !important;
        border: 1px solid rgba(12, 14, 18, 0.95) !important;
        border-radius: 18px !important;

        /* Frame pulse will animate this shadow */
        box-shadow:
            0 0 0 1px rgba(0,0,0,0.55),
            0 18px 55px rgba(0,0,0,0.55),
            0 0 22px rgba(255,175,70,0.00),
            inset 0 0 0 1px rgba(255, 185, 80, 0.12) !important;

        overflow: hidden;
        padding-bottom: 10px;
    }

    /* Slow amber pulse on the card frame */
    @keyframes echoAmberPulse {
        0% {
            box-shadow:
                0 0 0 1px rgba(0,0,0,0.55),
                0 18px 55px rgba(0,0,0,0.55),
                0 0 18px rgba(255,175,70,0.08),
                inset 0 0 0 1px rgba(255, 185, 80, 0.10);
        }
        50% {
            box-shadow:
                0 0 0 1px rgba(0,0,0,0.55),
                0 18px 55px rgba(0,0,0,0.58),
                0 0 34px rgba(255,175,70,0.26),
                inset 0 0 0 1px rgba(255, 205, 120, 0.16);
        }
        100% {
            box-shadow:
                0 0 0 1px rgba(0,0,0,0.55),
                0 18px 55px rgba(0,0,0,0.55),
                0 0 18px rgba(255,175,70,0.08),
                inset 0 0 0 1px rgba(255, 185, 80, 0.10);
        }
    }

    .login-box, .register-box {
        animation: echoAmberPulse 5.5s ease-in-out infinite;
    }

    /* Hazard stripe accent bar across the top edge (on the box itself) */
    .login-box::before,
    .register-box::before {
        content: "";
        display: block;
        height: 6px;
        background:
            repeating-linear-gradient(
                135deg,
                rgba(0,0,0,0.95) 0px,
                rgba(0,0,0,0.95) 10px,
                rgba(255,170,60,0.95) 10px,
                rgba(255,170,60,0.95) 20px
            );
        opacity: 0.85;
    }

    /* Fix “transparent over gold” logo by giving it a dark plate + rim */
    .login-logo, .register-logo {
        /* keep your content:url(...) but style the container */
        display: block;
        width: 140px;
        height: 140px;

        /* Center it */
        margin: 22px auto 10px auto !important;

        /* Plate + rim (matches the EYES ONLY gold) */
        background: rgba(8,10,14,0.72);
        border: 1px solid rgba(255,175,70,0.65);
        border-radius: 999px;

        /* Make the image sit cleanly */
        padding: 10px;

        /* Kill text sizing effects since it’s an image */
        font-size: 0 !important;
        line-height: 0 !important;

        /* Crisp visibility */
        filter: none !important;

        box-shadow:
            0 14px 35px rgba(0,0,0,0.55),
            inset 0 0 0 1px rgba(255,255,255,0.10);
    }

    /* Sometimes SeAT wraps logo image differently; force it to render solid */
    .login-logo img,
    .register-logo img {
        opacity: 1 !important;
        filter: none !important;
    }

    /* ECHO PROTOCOL // EYES ONLY pill label under the logo */
  .login-box::after {
    content: "ECHO PROTOCOL // EYES ONLY";
    display: block;
    text-align: center;
    margin: 0 0 14px 0;
    padding: 6px 10px;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    /* black text, cold amber plate */
    color: #000 !important;
    background: linear-gradient(90deg, rgba(255,190,80,0.9), rgba(255,160,40,0.85));
    border: 1px solid rgba(0,0,0,0.65);
    border-radius: 500px;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.12);
}
    /* Replace the “Welcome…” line with your custom 2-line text */
    .login-box-msg {
        font-weight: 700;
        letter-spacing: 0.06em;
        margin-top: 10px;
        margin-bottom: 14px;

        /* hide original text but keep element */
        font-size: 0 !important;
    }

    .login-box-msg::after {
        content: "Entering Restricted Area\A|| ECHO PROTOCOL AUTHENTICATION ||";
        white-space: pre-line;
        display: block;

        font-size: 14px;
        line-height: 1.35;
        text-align: center;

        color: rgba(255, 200, 110, 0.95);
        text-shadow: 0 1px 0 rgba(0,0,0,0.9);
    }

    /* Inputs: darker, tactical */
    .form-control {
        background: rgba(10, 12, 16, 0.78) !important;
        border: 1px solid rgba(255, 175, 70, 0.26) !important;
        color: rgba(255, 235, 210, 0.92) !important;
    }

    .form-control:focus {
        box-shadow: 0 0 0 2px rgba(255, 175, 70, 0.22) !important;
        border-color: rgba(255, 205, 120, 0.42) !important;
    }

    /* Button: black-ops with amber edge */
    .btn-primary {
        background-color: rgba(10, 12, 15, 0.96) !important;
        border: 1px solid rgba(255, 175, 70, 0.58) !important;
        box-shadow: inset 0 0 0 1px rgba(0,0,0,0.55);
    }

    .btn-primary:hover {
        background-color: rgba(18, 22, 28, 0.98) !important;
        border-color: rgba(255, 205, 120, 0.88) !important;
    }

    /* Small links (forgot password etc.) */
    .login-box a,
    .register-box a {
        color: rgba(255, 200, 110, 0.90) !important;
    }

    .login-box a:hover,
    .register-box a:hover {
        color: rgba(255, 225, 160, 0.98) !important;
        text-decoration: none;
    }
}
