/**
 * SeAT login page layout - Modernized with glassmorphism and animation
 */
@import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap");

@media all {
    html,
    body {
        height: auto;
        font-family: "Nunito", Arial, sans-serif;
        /* Simple, dark EVE Online-inspired gradient background */
        background: linear-gradient(120deg, #0f2027 0%, #232526 100%);
        background-size: cover;
        animation: none;
        letter-spacing: 0.01em;
        transition:
            filter 0.4s,
            transform 0.4s;
    }

    /* Removed animated gradient keyframes for simplicity */

    html:hover,
    body:hover {
        filter: brightness(1.05) contrast(1.08) saturate(1.1);
        transform: scale(1.015);
        animation: gradientBG 3s ease infinite !important;
    }

    .login-page,
    .register.body {
        color: #fff;
        /* background-image: url(https://i.imgur.com/6jpfgBx.png); */
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-box,
    .register-box {
        width: 370px;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        background: rgba(40, 40, 50, 0.75);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        border: 2px solid rgba(236, 240, 241, 0.7);
        border-radius: 32px;
        transform: translate(-50%, -50%);
        backdrop-filter: blur(12px);
        animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2.2rem 2rem 1.5rem 2rem;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    .login-logo,
    .register-logo {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 1.5rem;
        font-weight: 700;
        color: #00b894;
        margin-top: 1rem;
        letter-spacing: 0.04em;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .login-logo::before,
    .register-logo::before {
        display: block;
        width: 128px;
        height: 128px;
        margin: 0 auto 40px auto;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        content: "";
    }

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

    /* Fancy input and button tweaks for Bootstrap/AdminLTE */
    input.form-control,
    .form-control {
        border-radius: 18px;
        border: 1px solid #ecf0f1;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        transition:
            border-color 0.2s,
            background 0.2s;
        font-size: 1.08rem;
    }
    input.form-control:focus,
    .form-control:focus {
        border-color: #00b894;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        box-shadow: 0 0 0 2px #00b89433;
    }
    .btn,
    .btn-primary,
    .btn-success {
        border-radius: 24px;
        background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
        border: none;
        color: #fff !important;
        font-weight: 700;
        letter-spacing: 0.03em;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition:
            background 0.2s,
            box-shadow 0.2s;
    }
    .btn:hover,
    .btn-primary:hover,
    .btn-success:hover {
        background: linear-gradient(90deg, #00cec9 0%, #00b894 100%);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
    }
}
