/* Auth page - Login & Register (Mythronia) */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary) center/cover no-repeat;
    background-image: url('../assets/bgindex.jpg'), linear-gradient(135deg, rgba(26, 46, 36, 0.92) 0%, rgba(28, 45, 40, 0.95) 50%, rgba(42, 64, 58, 0.95) 100%);
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 46, 36, 0.75) 0%, rgba(28, 45, 40, 0.85) 100%);
    pointer-events: none;
}

.auth-page .auth-container {
    position: relative;
    z-index: 1;
}

.auth-container {
    background: rgba(28, 45, 40, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(201, 162, 39, 0.2);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(201, 162, 39, 0.25);
}

.auth-logo {
    text-align: center;
    margin-bottom: 16px;
}

.auth-logo img {
    max-width: 180px;
    max-height: 120px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

#auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 6px;
}

.auth-tab.active {
    background: var(--accent);
}

.auth-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    border-radius: 6px;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
}

.auth-form button:hover {
    background: var(--accent-hover);
}

.reset-link {
    margin-top: 20px;
    text-align: center;
}

.reset-link button {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 12px;
}

.reset-link button:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.auth-forgot-wrap {
    margin-top: 12px;
    text-align: center;
}

.auth-forgot-wrap a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-forgot-wrap a:hover {
    color: var(--accent);
}

.auth-forgot-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}
