@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100..900&display=swap');

/* =========================
   🎨 DESIGN SYSTEM
========================= */
:root {
     --bg-main: #047cc3;
    --bg-card: #ffffff;
    --bg-soft: #eef2f6;

    --text-primary: #111827;
    --text-secondary: #6b7280;

    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-soft: #e0e7ff;

    --border: #e5e7eb;
}

/* =========================
   🌍 BASE
========================= */
body {
    margin: 0;
    padding: 20px;
    font-family: "Noto Sans", sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
}

* {
    box-sizing: border-box;
}

/* =========================
   🔐 LOGIN
========================= */
.main-login{
    width: 100vw;
    height: 100vh;
    display: flex;
}

.left-login, .right-login{
    width: 50vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.left-login > h1 {
    font-size: 3vw;
}

.left-login-image {
    width: 35vw;
}

.logo {
    width: 10vw;
    margin-top: -100px;
}

.card-login {
    width: 60%;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.textfield {
    width: 100%;
    margin: 10px 0;
}

.textfield input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
}

.textfield label {
    color: var(--text-secondary);
}

.btn-login{
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

.btn-login:hover {
    background: var(--accent-hover);
}

/* =========================
   🏅 RANKING
========================= */
.ranking-container {
    max-width: 1200px;
    margin: 50px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.ranking-title, .ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.ranking-title {
    font-weight: bold;
}

.user-name {
    color: var(--text-primary);
}

.user-cvs, .user-achievements {
    color: var(--text-primary);
}

.user-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.mini-btn {
    text-decoration: none;
    margin: 0 6px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4f46e5;
    font-weight: bold;
    transition: 0.2s;
    display: inline-block;
    border: none !important;
    outline: none !important;
    cursor: pointer;
}

.mini-btn:focus,
.mini-btn:active {
    outline: none;
}

/*.mini-btn.btn-dec {
    background-color: #ffcccc !important;
    color: #cc0000 !important;
}

.mini-btn.btn-inc {
    background-color: #ccffcc !important;
    color: #006600 !important;
} */

.mini-btn:hover {
    background: #c7d2fe;
}




/* =========================
   📱 RESPONSIVO
========================= */
@media (max-width: 768px) {

    .main-login {
        flex-direction: column;
    }

    .left-login, .right-login {
        width: 100%;
    }

    .card-login {
        width: 90%;
    }
}