/* ============================================================
   Auth Pages - Axoria
   Compartilhado entre login.html e register.html
   ============================================================ */

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: linear-gradient(135deg, #1a1f2e 0%, #111827 60%, #1e1208 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* ---- Wrapper ---- */
.auth-container {
    width: 100%;
    max-width: 26rem;
}

/* ---- Logo ---- */
.auth-logo-link {
    display: inline-block;
}

.auth-logo {
    height: 5rem;
    margin: 0 auto;
    display: block;
}

.auth-subtitle {
    color: rgba(255, 255, 255, .35);
    font-size: .8rem;
    margin-top: .5rem;
    letter-spacing: .04em;
}

/* ---- Card ---- */
.auth-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 35rem;
}

.auth-card-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ---- Inputs ---- */
.auth-input {
    width: 100%;
    padding: .6rem 1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .5rem;
    color: #fff;
    font-size: .875rem;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, .25);
}

.auth-input:focus {
    border-color: #f54a00;
    box-shadow: 0 0 0 3px rgba(245, 74, 0, .2);
}

.auth-label {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    margin-bottom: .4rem;
    letter-spacing: .02em;
}

.auth-input-hint {
    color: rgba(255, 255, 255, .25);
    font-weight: 400;
}

/* ---- Alertas ---- */
.auth-alert {
    margin-bottom: 1rem;
    padding: .75rem 1rem;
    border-radius: .5rem;
    font-size: .8rem;
}

.auth-alert--danger {
    background: rgba(220, 38, 38, .15);
    border: 1px solid rgba(220, 38, 38, .3);
    color: #fca5a5;
}

.auth-alert--success {
    background: rgba(22, 163, 74, .12);
    border: 1px solid rgba(22, 163, 74, .25);
    color: #86efac;
}

/* ---- Botão primário ---- */
.auth-btn-submit {
    width: 100%;
    padding: .7rem;
    background: #f54a00;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    transition: background .15s;
    margin-top: .25rem;
}

.auth-btn-submit:hover {
    background: #c73d00;
}

/* ---- Divisor OAuth ---- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.auth-divider-text {
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
}

/* ---- Botões OAuth ---- */
.auth-oauth-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.auth-btn-oauth {
    flex: 1 1 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: .5rem;
    padding: .55rem 1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .5rem;
    color: rgba(255, 255, 255, .75);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}

.auth-btn-oauth:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
}

.auth-icon-google {
    color: #ea4335;
}

.auth-icon-github {
    color: rgba(255, 255, 255, .8);
}

/* ---- Formulário (register) ---- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---- Rodapé ---- */
.auth-footer-text {
    text-align: center;
    margin-top: 1.25rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .35);
}

.auth-footer-link {
    color: #fb923c;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link:hover {
    text-decoration: underline;
}
