/* app/static/css/auth.css */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: radial-gradient(circle at top right, var(--bg-body), #ffffff);
}

.auth-container {
    max-width: 420px;
    width: 100%;
    padding: 48px 40px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-auth {
    width: 60px;
    height: auto;
    margin-bottom: 24px;
    filter: grayscale(1); /* Minimalismo total */
    transition: filter 0.3s ease;
}

.logo-auth:hover {
    filter: grayscale(0);
}

.auth-header h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: #666;
    font-size: 0.9rem;
}

/* Inputs Minimalistas */
.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    background-color: transparent;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-bottom-color: var(--accent);
}

/* Captcha Minimalista */
.captcha-group {
    margin-top: 32px;
    margin-bottom: 32px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 12px;
}

#captcha-img {
    height: 45px;
    border-radius: 4px;
    filter: contrast(1.1);
}

.btn-refresh {
    background: none;
    border: none;
    color: #999;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.btn-refresh:hover {
    color: var(--accent);
}

.captcha-input-style {
    width: 100%;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 8px;
    font-weight: 700;
    outline: none;
    border-bottom: 2px solid #eee;
}

.captcha-input-style:focus {
    border-bottom-color: var(--accent);
}

.captcha-input-style::placeholder {
    letter-spacing: normal;
    font-size: 0.8rem;
    font-weight: 400;
    color: #bbb;
}

/* Botón Principal */
.btn.primary.full-width {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
}

.auth-footer p {
    font-size: 0.85rem;
    color: #888;
}

.back-link {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #bbb !important;
}