* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    height: 100vh;
    background: #f7f8fb;
    overflow: hidden;
}


.background-animation {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, #ffb6c155, transparent 35%),
        radial-gradient(circle at 80% 20%, #87cefa55, transparent 40%),
        radial-gradient(circle at 50% 80%, #dda0dd55, transparent 45%);
    animation: floatBg 25s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes floatBg {
    0% {
        background-position: 20% 30%, 80% 20%, 50% 80%;
    }
    100% {
        background-position: 30% 40%, 70% 30%, 60% 70%;
    }
}


/* LAYOUT */
.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/.logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* TEXTOS */
h2 {
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

/* INPUTS */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #70213f;
}

.input-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #70213f;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-login.loading {
    pointer-events: none;
    background: #5c1b34;
}

.btn-login .btn-text {
    transition: opacity 0.3s ease;
}

.btn-login.loading .btn-text {
    opacity: 0;
}

.btn-loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn-login.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg) translate(-50%, -50%); }
}

.divider {
    text-align: center;
    margin: 25px 0;
    font-size: 13px;
    color: #999;
}

.btn-google {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.btn-google img {
    width: 18px;
}

/* LINKS */
.links {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.links a {
    font-size: 13px;
    text-decoration: none;
    color: #70213f;
}
