/* =========================================================
   ACTOR LAB — LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;

    width: 100%;

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

    padding: 130px 20px 60px;
}

.back-home {
    color: var(--white-muted);

    font-family: var(--font-body);

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.back-home:hover {
    color: var(--white);

    transform: translateX(-3px);
}

.login-card {
    position: relative;

    width: min(100%, 470px);

    padding: 46px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 28, 31, 0.82),
            rgba(10, 10, 11, 0.74)
        );

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 30px;

    backdrop-filter: blur(32px) saturate(125%);
    -webkit-backdrop-filter: blur(32px) saturate(125%);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    overflow: hidden;
}

.login-card::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -170px;
    right: -120px;

    border-radius: 50%;

    background: var(--red);

    filter: blur(100px);

    opacity: 0.16;

    pointer-events: none;
}

.login-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 53, 64, 0.65),
            transparent
        );

    opacity: 0.8;
}

.login-header {
    position: relative;

    z-index: 2;

    margin-bottom: 35px;
}

.login-header .eyebrow {
    margin-bottom: 16px;
}

.login-header h1 {
    font-family: var(--font-display);

    font-size: clamp(42px, 8vw, 58px);

    line-height: 0.95;

    letter-spacing: -0.065em;

    font-weight: 800;
}

.login-header p {
    margin-top: 15px;

    color: var(--white-muted);

    font-size: 14px;

    line-height: 1.65;
}

.login-form {
    position: relative;

    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--white-soft);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.form-group input {
    width: 100%;

    height: 55px;

    padding: 0 16px;

    color: var(--white);

    background:
        rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 14px;

    outline: none;

    font-family: var(--font-body);

    font-size: 14px;

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

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.29);
}

.form-group input:hover {
    background:
        rgba(255, 255, 255, 0.06);
}

.form-group input:focus {
    background:
        rgba(255, 255, 255, 0.065);

    border-color:
        rgba(229, 9, 20, 0.58);

    box-shadow:
        0 0 0 4px rgba(229, 9, 20, 0.09),
        0 8px 30px rgba(0, 0, 0, 0.18);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 80px;
}

.password-toggle {
    position: absolute;

    right: 8px;
    top: 50%;

    transform: translateY(-50%);

    height: 39px;

    padding: 0 11px;

    color: var(--white-muted);

    background: transparent;

    border: 0;

    border-radius: 9px;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

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

.password-toggle:hover {
    color: var(--white);

    background: rgba(255, 255, 255, 0.07);
}

.login-message {
    min-height: 20px;

    margin: 5px 0 13px;

    color: var(--white-muted);

    font-size: 12px;

    line-height: 1.5;

    opacity: 0;

    transition: opacity 0.2s ease;
}

.login-message.visible {
    opacity: 1;
}

.login-message.error {
    color: #ff6971;
}

.login-message.success {
    color: #76e6a0;
}

.login-message.loading {
    color: var(--white-muted);
}

.login-button {
    width: 100%;

    min-height: 56px;

    margin-top: 3px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #f01925,
            #c90611
        ) !important;

    border: 1px solid rgba(255, 76, 86, 0.42);

    box-shadow:
        0 14px 35px rgba(229, 9, 20, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.login-button span {
    margin-left: 10px;

    font-size: 18px;

    transition: transform 0.25s ease;
}

.login-button:hover span {
    transform: translateX(4px);
}

.login-info {
    position: relative;

    z-index: 2;

    margin-top: 25px;

    padding: 14px 15px;

    display: flex;

    align-items: flex-start;

    gap: 11px;

    background:
        rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 13px;
}

.login-info > span {
    font-size: 13px;

    opacity: 0.8;
}

.login-info p {
    color: var(--white-muted);

    font-size: 11px;

    line-height: 1.55;
}

.login-footer {
    position: relative;

    z-index: 2;

    margin-top: 24px;

    text-align: center;
}

.login-footer a {
    color: var(--white-muted);

    font-size: 12px;

    transition: color 0.2s ease;
}

.login-footer a:hover {
    color: var(--red-light);
}

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

@media (max-width: 560px) {

    .login-page {
        padding:
            110px
            15px
            35px;
    }

    .login-card {
        padding: 32px 23px;

        border-radius: 25px;
    }

    .login-header h1 {
        font-size: 45px;
    }

    .login-header p {
        font-size: 13px;
    }
}
