@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800;900&display=swap");
/* ============================================
   CUIDA NO ZAP v5.0 - AUTH CSS
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

.auth-body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    background: #f8fafc;
    color: #2d3748;
    line-height: 1.6;
}

.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Coluna esquerda - Brand */
.auth-left {
    flex: 0 0 420px;
    background: linear-gradient(135deg, #0D9488 0%, #065F46 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 48px;
}

.auth-brand i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    opacity: 0.9;
}

.auth-brand h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-brand p {
    font-size: 1.05rem;
    opacity: 0.85;
    font-weight: 400;
}

.auth-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.auth-feature i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Coluna direita - Form */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-form-wrapper {
    max-width: 420px;
    width: 100%;
}

.auth-form-wrapper h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1d23;
    margin-bottom: 6px;
}

.text-muted {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 28px;
    display: block;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d3748;
}

.form-label i {
    margin-right: 6px;
    color: #0D9488;
    width: 16px;
    text-align: center;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2d3748;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: #0D9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

.form-control::placeholder {
    color: #a0aec0;
}

.input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.input-group .form-control {
    flex: 1;
}

.btn-eye {
    padding: 0 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: #718096;
    font-size: 1rem;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
}

.btn-eye:hover {
    border-color: #0D9488;
    color: #0D9488;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}

.btn-primary {
    background: #0D9488;
    color: #fff;
    border-color: #0D9488;
}

.btn-primary:hover {
    background: #0A7A70;
    border-color: #0A7A70;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer links */
.auth-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
}

.auth-footer a {
    color: #0D9488;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer p {
    margin-bottom: 8px;
}

/* Forgot password link */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-footer a {
    color: #0D9488;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Select */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
    }
    .auth-left {
        flex: none;
        padding: 32px 24px;
        min-height: auto;
    }
    .auth-brand {
        margin-bottom: 20px;
    }
    .auth-brand i {
        font-size: 2rem;
    }
    .auth-brand h1 {
        font-size: 1.5rem;
    }
    .auth-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .auth-feature {
        font-size: 0.85rem;
    }
    .auth-feature i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .auth-right {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .auth-left {
        padding: 24px 20px;
    }
    .auth-right {
        padding: 24px 20px;
    }
    .auth-features {
        display: none;
    }
}