﻿
/* =====================================
   POPCORNID - LOGIN PAGE
   Cinematic Black & Gold Theme
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #090909;
    --card-background: #151515;
    --input-background: #202020;
    --gold: #e5a832;
    --gold-light: #ffc65c;
    --text-primary: #ffffff;
    --text-secondary: #a5a5a5;
    --border: #303030;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-primary);

    background:
        radial-gradient(
            ellipse at 50% 20%,
            rgba(229, 168, 50, 0.12),
            transparent 55%
        ),
        var(--background);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px 20px;
}

/* LOGIN CONTAINER */

.login-container {
    width: 100%;
    max-width: 460px;
}

/* LOGIN CARD */

.login-card {
    background: var(--card-background);

    border: 1px solid var(--border);
    border-radius: 18px;

    padding: 45px 40px;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(229, 168, 50, 0.05);
}

/* BRAND */

.brand {
    text-align: center;
    margin-bottom: 40px;
}

.brand-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold);
    color: #111;

    font-size: 32px;
    font-weight: bold;

    border-radius: 12px;
}

.brand h1 {
    font-size: 29px;
    letter-spacing: 3px;
    font-weight: 800;
}

.brand h1 span {
    color: var(--gold);
}

.tagline {
    color: var(--text-secondary);

    font-size: 10px;
    letter-spacing: 3px;

    margin-top: 10px;
}

/* WELCOME */

.welcome {
    margin-bottom: 30px;
}

.welcome h2 {
    font-size: 26px;
    margin-bottom: 9px;
}

.welcome p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* FORM */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 9px;
}

.form-group input {
    width: 100%;
    height: 49px;

    background: var(--input-background);

    border: 1px solid var(--border);
    border-radius: 8px;

    padding: 0 15px;

    color: white;
    font-size: 14px;

    outline: none;

    transition: 0.25s;
}

.form-group input::placeholder {
    color: #777;
}

.form-group input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(229, 168, 50, 0.12);
}

/* FORM OPTIONS */

.form-options {
    display: flex;
    justify-content: flex-end;

    margin-top: -8px;
    margin-bottom: 25px;
}

.form-options a {
    color: var(--gold);
    font-size: 12px;
    text-decoration: none;
}

.form-options a:hover {
    color: var(--gold-light);
}

/* SIGN IN BUTTON */

#loginButton {
    width: 100%;
    height: 50px;

    background: var(--gold);
    color: #111;

    border: none;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.25s;
}

#loginButton:hover {
    background: var(--gold-light);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(229, 168, 50, 0.2);
}

#loginButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* MESSAGE */

.message {
    min-height: 20px;
    margin-top: 15px;

    text-align: center;
    font-size: 13px;
    color: #ff7777;
}

/* DIVIDER */

.divider {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 25px 0;

    color: #777;
    font-size: 10px;
    letter-spacing: 2px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* CREATE ACCOUNT */

.create-account {
        background: transparent;
    cursor: pointer;
    font-family: inherit;
display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 48px;

    border: 1px solid var(--gold);
    border-radius: 8px;

    color: var(--gold);

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;

    text-decoration: none;

    transition: 0.25s;
}

.create-account:hover {
    background: rgba(229, 168, 50, 0.1);
}

/* FOOTER */

footer {
    margin-top: 35px;
    text-align: center;
}

footer p {
    color: #666;
    font-size: 10px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 500px) {

    .login-card {
        padding: 35px 25px;
    }

    .brand h1 {
        font-size: 25px;
    }

    .welcome h2 {
        font-size: 23px;
    }

}

/* PASSWORD RECOVERY BUTTONS */

#forgotPasswordButton,
#resetPasswordButton {
    width: 100%;
    padding: 14px;
    background: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

#forgotPasswordButton:hover,
#resetPasswordButton:hover {
    background: #b80710;
}

#forgotPasswordButton:disabled,
#resetPasswordButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}