﻿/* ===============================================
   ⚡ BLACK & GOLD LOGIN THEME
   =============================================== */

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000, #1a1a1a, #2b2b2b);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background-size: 400% 400%;
    animation: bgFlow 12s ease infinite;
}

@keyframes bgFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* === Floating glow === */
@keyframes floatingGlow {
    0%, 100% {
        box-shadow: 0 0 20px #ffcc0033, 0 0 40px #ffcc0033;
    }

    50% {
        box-shadow: 0 0 30px #ffcc0088, 0 0 60px #ffcc0066;
    }
}

.login-page .container {
    display: flex;
    width: 850px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.25);
    backdrop-filter: blur(10px);
    animation: floatingGlow 6s ease-in-out infinite alternate;
}

/* ========== LEFT LOGIN FORM ========== */
.login-page .login-form {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(20, 20, 20, 0.85);
    position: relative;
    z-index: 2;
    color: #fff;
}

    .login-page .login-form h2 {
        font-size: 30px;
        text-align: center;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: linear-gradient(90deg, #ffcc00, #ffd633);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .login-page .login-form p {
        text-align: center;
        font-size: 14px;
        color: #ccc;
        margin-bottom: 35px;
        line-height: 1.6;
    }

    .login-page .login-form input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        color: #fff;
        padding: 12px 15px;
        margin-bottom: 20px;
        width: 100%;
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .login-page .login-form input:focus {
            border-color: #ffcc00;
            outline: none;
            box-shadow: 0 0 15px #ffcc0066;
            transform: scale(1.02);
        }

    .login-page .login-form button {
        background: linear-gradient(135deg, #ffcc00, #ffdb4d);
        border: none;
        color: #000;
        padding: 12px;
        border-radius: 30px;
        font-size: 16px;
        cursor: pointer;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

        .login-page .login-form button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 0 25px #ffcc0088;
            background: linear-gradient(135deg, #ffdb4d, #ffcc00);
        }

    /* Links */
    .login-page .login-form a {
        color: #aaa;
        text-align: center;
        margin-top: 20px;
        display: block;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.3s;
    }

        .login-page .login-form a:hover {
            color: #ffcc00;
        }

/* ========== RIGHT WELCOME PANEL ========== */
.login-page .welcome-panel {
    flex: 1;
    background: linear-gradient(135deg, #ffcc00, #ffdb4d);
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

    .login-page .welcome-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 200%;
        background: linear-gradient(60deg, #ffcc00, #ffdb4d, #fff59d);
        animation: gradientShift 10s linear infinite;
        z-index: 0;
        opacity: 0.15;
        transform: rotate(15deg);
    }


@keyframes gradientShift {
    0% {
        transform: translateX(0) rotate(15deg);
    }

    100% {
        transform: translateX(-50%) rotate(15deg);
    }
}

.login-page .welcome-panel h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    color: #111;
}

.login-page .welcome-panel p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    width: 85%;
    z-index: 1;
    position: relative;
    color: #222;
}

.login-page .welcome-panel .btn-signup {
    background: #000;
    color: #ffcc00;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

    .login-page .welcome-panel .btn-signup:hover {
        background: #ffcc00;
        color: #000;
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .login-page .container {
        flex-direction: column;
        width: 90%;
        height: auto;
        animation: none;
    }

    .login-page .welcome-panel {
        order: -1;
        padding: 40px 25px;
    }

    .login-page .login-form {
        padding: 40px 25px;
    }

    .login-page .welcome-panel::before {
        display: none;
    }
}
