/* ============================================
   AUTH.CSS - ESTILOS DE LOGIN E CADASTRO
   ============================================ */

.auth-modal {
    max-width: 450px;
    width: 90%;
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
}

.close-auth {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #a0aec0;
    z-index: 10;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-auth:hover {
    background: #ef4444;
    color: white;
}

.auth-tabs {
    display: flex;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #718096;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #667eea;
    border-bottom: 3px solid #667eea;
    background: white;
}

.auth-form {
    padding: 30px;
}

.auth-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #2d3748;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7fafc;
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.input-group i {
    color: #a0aec0;
    font-size: 18px;
}

.input-group input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #667eea;
    cursor: pointer;
    font-size: 13px;
}

.auth-link:hover {
    text-decoration: underline;
}

.logout-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Ranking com informações completas */
.ranking-position {
    min-width: 45px;
    font-size: 18px;
}

.ranking-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ranking-info strong {
    font-size: 14px;
    color: #2d3748;
}

.ranking-name {
    font-size: 11px;
    color: #718096;
}

.ranking-age {
    font-size: 10px;
    color: #a0aec0;
}

.ranking-points {
    font-weight: bold;
    color: #f59e0b;
    font-size: 13px;
}

.current-player-row {
    background: linear-gradient(90deg, #fef3c7, #fff);
    border-left: 4px solid #f59e0b;
}

/* Animações para toast */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}