body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: linear-gradient(135deg, #f0f7f4 0%, #e3f2ec 60%, #dceef9 100%);
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 158, 122, 0.1) 0%, transparent 70%);
    top: -150px;
    left: -100px;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.08) 0%, transparent 70%);
    bottom: -120px;
    right: -80px;
    pointer-events: none;
}

.logo {
    margin-bottom: 28px;
    animation: fadeDown 0.5s ease both;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #d4e8df;
    border-radius: 20px;
    padding: 40px 36px 36px;
    box-shadow: 0 8px 32px rgba(26, 158, 122, 0.08);
    animation: fadeUp 0.6s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2e25;
    margin-bottom: 4px;
}

.card-sub {
    font-size: 13px;
    color: #6a8e80;
    margin-bottom: 28px;
}

.erro-msg {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.campo {
    position: relative;
    margin-bottom: 18px;
}

.campo input {
    width: 100%;
    background: #f8fdfb;
    border: 1px solid #d4e8df;
    border-radius: 12px;
    padding: 18px 16px 8px;
    font-size: 15px;
    font-family: inherit;
    color: #1a2e25;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    box-sizing: border-box;
}

.campo input:focus {
    border-color: #1a9e7a;
    background: #f0faf6;
}

.campo label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #8aab9e;
    pointer-events: none;
    transition: 0.25s ease;
}

.campo input:focus+label,
.campo input:valid+label {
    top: 10px;
    transform: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1a9e7a;
    text-transform: uppercase;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: #1a9e7a;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #158a6a;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.extra {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #6a8e80;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.extra a {
    color: #1a9e7a;
    text-decoration: none;
    font-weight: 600;
}

.extra a:hover {
    color: #158a6a;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d4e8df;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .card {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }

    body {
        align-items: stretch;
    }

    .logo {
        display: flex;
        justify-content: center;
    }
}