/* --- GLOBAL --- */
body {
    background: linear-gradient(135deg, #eef2f7, #d7e0ea);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px;
}

/* --- CARD --- */
.card-login {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    position: relative;
    text-align: center;
    transition: transform 0.25s ease;
}

.card-login:hover {
    transform: translateY(-4px);
}

/* Decorative trophy icon (FIXED pointer-events) */
.card-login::before {
    content: "🏆";
    font-size: 6.5rem;
    position: absolute;
    top: -10px;       /* adjust vertical position if needed */
    left: 15px;       /* moved from right to left */
    opacity: 0.25;
    transform: rotate(-10deg); /* you can change rotation if desired */
    pointer-events: none; /* allows clicking through */
}

/* --- HEADER --- */
.card-login h2 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 2.2rem;
    color: #263445;
    letter-spacing: -0.5px;
}

/* --- INPUTS --- */
.form-control {
    border-radius: 10px;
    margin-bottom: 1rem;
    height: 52px;
    font-size: 1rem;
    border: 1px solid #d0d6dd;
    transition: all 0.25s ease;
    padding-left: 14px;
    background: #f9fbfc;
}
.form-control:focus {
    border-color: #3b6df2;
    box-shadow: 0 0 10px rgba(59, 109, 242, 0.18);
    background: #fff;
}

/* --- LANGUAGE SELECT (modern combobox style) --- */
#lang-select {
    appearance: none;             /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    
    border-radius: 8px;
    border: 1px solid #d0d6dd;
    background: #f9fbfc url('data:image/svg+xml;utf8,<svg fill="%233b6df2" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 8px center;
    background-size: 12px;
    padding: 4px 30px 4px 8px;    /* right padding for arrow */
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

#lang-select:hover {
    border-color: #a0b0cc;
}

#lang-select:focus {
    border-color: #3b6df2;
    box-shadow: 0 0 8px rgba(59, 109, 242, 0.18);
    background-color: #fff;
    outline: none;
}


/* --- BUTTON MAIN LOGIN --- */
.btn-login {
    background: linear-gradient(135deg, #4e73df, #345ddc);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    height: 52px;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.25s ease;
    border: none;
}

.btn-login:hover {
    background: linear-gradient(135deg, #395ed2, #274fcb);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(57, 94, 210, 0.3);
}

/* --- LINKS --- */
a {
    color: #3b6df2;
    font-weight: 500;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- ERROR TEXT --- */
.help-block {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

/* --- FOOTER --- */
.footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}
