/* ============================================
   Conectabee DocGate — Auth Styles
   ============================================ */

.auth-body {
    background: #F8F8F8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.auth-card-header {
    text-align: center;
}

.auth-logo {
    display: block;
    margin: 0 auto 8px;
}

.auth-brand-label {
    display: block;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-divider {
    border: none;
    border-top: 1px solid #F0F0F0;
    margin: 24px 0;
}

.auth-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A1A2E;
    text-align: center;
    margin: 0 0 24px;
}

.auth-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 24px;
}

.auth-status {
    background: #E8F5E9;
    border-left: 3px solid #2E7D32;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    color: #2E7D32;
    margin-bottom: 20px;
}

.auth-error {
    background: #FFF0F0;
    border-left: 3px solid #C62828;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    color: #C62828;
    margin-bottom: 20px;
}

.auth-error p {
    margin: 0;
}

.auth-error p + p {
    margin-top: 4px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 14px;
    color: #2C2C2C;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #C9A044;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 160, 68, 0.15);
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin-bottom: 24px;
}

.auth-checkbox {
    accent-color: #C9A044;
    width: 16px;
    height: 16px;
}

.auth-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: #C9A044;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-submit:hover {
    background: #B8913A;
}

.auth-forgot {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #C9A044;
    text-decoration: none;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.auth-footer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 24px;
}

/* --- Password Toggle --- */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .auth-input {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.password-toggle:hover {
    color: #C9A044;
}
