﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    background: #fff;
}

/* ── Left panel ── */
.panel-left {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 48px;
    background: #eaeaea;
}

/* Tagline */
.tagline {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 48px;
}

    .tagline h2 {
        font-size: 28px;
        font-weight: 700;
        color: #1a1a2e;
        line-height: 1.3;
    }

    .tagline p {
        margin-top: 10px;
        font-size: 15px;
        color: #6b7280;
    }

/* Phone image */
.phone-wrap {
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

    .phone-wrap img {
        width: 560px;
        /* filter: drop-shadow(0 24px 40px rgba(0,0,0,.18)) drop-shadow(0 6px 12px rgba(0,0,0,.1)); */
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Stats row */
.stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    margin-top: 48px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
}

.stat-label {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.stat-divider {
    width: 1px;
    background: #c8c8c8;
    align-self: stretch;
}

/* ── Right panel ── */
.panel-right {
    width: 50vw;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 64px;
    position: relative;
}

.form-inner {
    width: 100%;
    max-width: 460px;
}

/* Logo */
.logo {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #012345;
    /* text-transform: uppercase; */
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.logo-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.logo-wrap img{
    max-width: 200px
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b6cff;
    margin-bottom: 2px;
}

h1 {
    font-size: 20px;
    font-weight: 700;
    color: #0d1b4b;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 14px;
    color: #8a94a6;
    margin-bottom: 36px;
}

/* Input groups */
.field {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    /*text-transform: uppercase;*/
    letter-spacing: .6px;
    margin-bottom: 8px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c8;
    display: flex;
    align-items: center;
}

    .input-icon svg {
        width: 16px;
        height: 16px;
    }

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 44px;
    font-size: 14px;
    color: #0d1b4b;
    background: #f8fafc;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

input:focus {
    border-color: #3b6cff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59,108,255,.1);
}

.toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #b0b8c8;
    display: flex;
    align-items: center;
    padding: 0;
    transition: color .2s;
}

    .toggle-pass:hover {
        color: #3b6cff;
    }

    .toggle-pass svg {
        width: 17px;
        height: 17px;
    }

/* Row: remember + forgot */
.row-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -8px;
    margin-bottom: 28px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .remember input[type="checkbox"] {
        display: none;
    }

.check-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e0;
    border-radius: 5px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}

.remember input:checked + .check-box {
    background: #3b6cff;
    border-color: #3b6cff;
}

    .remember input:checked + .check-box::after {
        content: '';
        display: block;
        width: 9px;
        height: 5px;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(-45deg) translateY(-1px);
    }

.remember-label {
    font-size: 13px;
    color: #4a5568;
    user-select: none;
}

.forgot {
    font-size: 13px;
    color: #3b6cff;
    text-decoration: none;
    font-weight: 500;
}

    .forgot:hover {
        text-decoration: underline;
    }

/* Submit */
.btn-primary {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #1a3faa 0%, #3b6cff 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .3px;
    box-shadow: 0 8px 24px rgba(59,108,255,.35);
    transition: opacity .2s, transform .15s, box-shadow .2s;
    margin-bottom: 80px;
}

    .btn-primary:hover {
        opacity: .92;
        transform: translateY(-1px);
        box-shadow: 0 12px 32px rgba(59,108,255,.45);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #cbd5e0;
    font-size: 12px;
}

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e2e8f0;
    }

/* Social */
.btn-social {
    width: 100%;
    height: 46px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #0d1b4b;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

    .btn-social:hover {
        background: #f8fafc;
        border-color: #cbd5e0;
    }

    .btn-social svg {
        width: 18px;
        height: 18px;
    }

/* Sign-up */
.signup {
    text-align: center;
    margin-top: 28px;
    font-size: 13px;
    color: #8a94a6;
}

    .signup a {
        color: #3b6cff;
        font-weight: 600;
        text-decoration: none;
    }

        .signup a:hover {
            text-decoration: underline;
        }

.mensagens {
    position: absolute;
    top: 10px;
    color: red;
}

.validation-summary-errors ul {
    list-style-type: none;
}
/* Responsive */
@media (max-width: 860px) {
    .panel-left {
        display: none;
    }

    .panel-right {
        width: 100%;
    }
}
