.byoei-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #1a1a1a, #050505);
    font-family: 'Inter', -apple-system, sans-serif;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Floating background blobs for premium feel */
.byoei-login-container::before,
.byoei-login-container::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--accent, #d4af37);
    filter: blur(120px);
    opacity: 0.1;
    z-index: 0;
    animation: floatBlob 20s infinite alternate;
}
.byoei-login-container::before { top: -100px; left: -100px; }
.byoei-login-container::after { bottom: -100px; right: -100px; animation-delay: -10s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

.byoei-login-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 450px;
    padding: 64px 48px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    animation: cardEntry 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardEntry {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.byoei-logo {
    width: 64px;
    height: 64px;
    color: #d4af37;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    animation: logoPulse 4s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.byoei-login-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.byoei-login-header p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 40px;
    line-height: 1.6;
}

.byoei-error-msg {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 32px;
    font-size: 14px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.byoei-login-form {
    text-align: left;
}

.byoei-input-group {
    margin-bottom: 32px;
}

.byoei-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.byoei-input-group input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    text-align: center;
}

.byoei-input-group input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
}

.byoei-login-btn {
    width: 100%;
    padding: 18px;
    background: #d4af37;
    border: none;
    border-radius: 16px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -10px rgba(212, 175, 55, 0.5);
}

.byoei-login-btn:hover {
    background: #e5c05c;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(212, 175, 55, 0.6);
}

.byoei-login-btn:active {
    transform: translateY(0);
}

.byoei-login-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.byoei-login-btn:hover svg {
    transform: translateX(4px);
}
