/* MineCloud — Autenticação (split layout) */

.auth-page {
    min-height: 100vh;
    margin: 0;
    background: var(--color-bg, #080d16);
    color: var(--color-text, #eef1f7);
}

.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 100vh;
}

.auth-split__visual {
    position: relative;
    overflow: hidden;
    background: #080d16;
}

.auth-split__visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.auth-split__visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 13, 22, 0.08) 0%, rgba(8, 13, 22, 0.22) 100%),
        linear-gradient(90deg, transparent 72%, rgba(8, 13, 22, 0.55) 100%);
    pointer-events: none;
}

.auth-split__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background: var(--color-surface, #111a2b);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-split__inner {
    width: 100%;
    max-width: 24rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.auth-split__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #eef1f7;
    transition: opacity 0.2s ease;
}

.auth-split__brand:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #eef1f7;
}

.auth-split__brand img {
    width: 40px;
    height: 40px;
}

.auth-split__brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.auth-card {
    width: 100%;
}

.auth-card__head {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.125rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #f4f6fb !important;
    margin: 0 0 0.75rem !important;
    text-align: center;
}

.auth-card__subtitle {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-muted, #8b98ad);
    margin: 0;
    padding: 0 0.25rem;
    text-align: center;
}

.auth-form {
    display: grid;
    gap: 1.25rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c5cdd9;
}

.auth-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-field__wrap i {
    position: absolute;
    left: 0.9rem;
    font-size: 1.125rem;
    color: #6d7a8f;
    pointer-events: none;
}

.auth-field input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 13, 22, 0.55);
    color: #eef1f7;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field__wrap input {
    padding-left: 2.6rem;
}

.auth-field input::placeholder {
    color: #6d7a8f;
}

.auth-field input:focus {
    outline: none;
    border-color: rgba(83, 82, 237, 0.4);
    box-shadow: 0 0 0 3px rgba(83, 82, 237, 0.1);
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: #3d4568;
    color: #f0f2f8;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.auth-submit:hover:not(:disabled) {
    background: #4a5378;
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.auth-submit--discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    display: grid;
    gap: 0.85rem;
}

.auth-links a {
    font-size: 0.875rem;
    color: #8b98ad;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: #b8bfdc;
    text-decoration: none;
}

.auth-links a strong {
    color: #9aa3d4;
    font-weight: 700;
}

.auth-forgot {
    text-align: center;
    margin-top: 1rem;
}

.auth-forgot a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9aa3d4;
    text-decoration: none;
}

.auth-forgot a:hover {
    color: #b8bfdc;
    text-decoration: underline;
}

.auth-info-box {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(83, 82, 237, 0.1);
    border: 1px solid rgba(83, 82, 237, 0.22);
    font-size: 0.875rem;
    line-height: 1.65;
    color: #b8b7ff;
    margin-bottom: 1.25rem;
    text-align: center;
}

.auth-split__footer {
    margin-top: 0.25rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #6d7a8f;
}

.auth-split__footer a {
    color: #8b98ad;
    text-decoration: none;
}

.auth-split__footer a:hover {
    color: #b8bfdc;
}

@media (max-width: 991px) {
    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-split__visual {
        display: none;
    }

    .auth-split__panel {
        border-left: none;
        padding: 2rem 1.25rem;
        min-height: 100vh;
    }
}

@media (max-width: 575px) {
    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-split__panel {
        padding: 1.5rem 1rem;
    }
}
