/* ===========================
   PAGE LOGIN UNIVERSE RP
=========================== */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-box {
    width: 450px;
    padding: 50px 40px;
    text-align: center;
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: var(--glass-shadow);
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-box h1 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #4ea4ff, #8352fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.login-box p.subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 15px;
}

/* Steps */
.step-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px 20px;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.step-container.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.step-container.done .step-number {
    background: var(--success);
    color: white;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
}

/* User profile display in login steps */
.user-info-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.user-info-mini img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--success);
}

.user-info-mini .name {
    font-weight: 600;
    color: white;
}

.user-info-mini .status {
    font-size: 12px;
    color: #4cd137;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Auth Buttons specific styles */
.btn-steam {
    background: var(--steam);
    width: 100%;
}
.btn-steam:hover { background: #2589ee; }

.btn-discord {
    background: var(--discord);
    width: 100%;
}
.btn-discord:hover { background: #7289da; }

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media(max-width: 600px) {
    .login-box {
        width: 100%;
        padding: 40px 25px;
    }
}

/* ===========================
   HEADER DE LA LOGIN BOX
=========================== */
.login-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #4ea4ff, #8352fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.login-sub {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
}

/* ===========================
   ÉTAPES DE CONNEXION
=========================== */
.login-step {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    transition: all 0.3s ease;
}

.login-step.active {
    border-color: rgba(78, 164, 255, 0.4);
    box-shadow: 0 0 20px rgba(78, 164, 255, 0.1);
}

.login-step.done {
    border-color: rgba(46, 204, 113, 0.3);
    background: rgba(46, 204, 113, 0.05);
}

.login-step.disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.login-step.done .step-num {
    background: var(--success);
}

.step-label {
    font-weight: 600;
    font-size: 16px;
    flex-grow: 1;
}

.step-check {
    color: var(--success);
    font-size: 20px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.step-locked {
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-done-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.step-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--success);
}

/* Auth buttons */
.steam-btn {
    background: var(--steam);
    width: 100%;
    margin-top: 0;
}
.steam-btn:hover { background: #2589ee; }

.discord-btn {
    background: var(--discord);
    width: 100%;
    margin-top: 0;
}
.discord-btn:hover { background: #7289da; }

/* Btn continuer */
.btn-continue {
    background: var(--success);
    width: 100%;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}
.btn-continue:hover {
    background: #27ae60;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}
