﻿/* ===============================
   RESET
================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* ===============================
   VARIÁVEIS
================================ */

:root {
    --bg-main: #0B1220;
    --bg-deep: #070D18;
    --accent-primary: #2563EB;
    --accent-secondary: #1D4ED8;
    --accent-glow: rgba(37, 99, 235, 0.45);
    --text-main: #F8FAFC;
    --text-muted: rgba(255,255,255,0.65);
}

/* ===============================
   BODY
================================ */

body.register-page {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, var(--bg-main), var(--bg-deep));
    color: var(--text-main);
    height: 100svh;
    overflow: hidden;
}

/* ===============================
   LAYOUT PRINCIPAL
================================ */

.register-container {
    display: flex;
    height: 100%;
}

/* ===============================
   HERO
================================ */

.register-hero {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.hero-content {
    max-width: 500px;
}

    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content p {
        color: var(--text-muted);
        font-size: 16px;
        margin-bottom: 40px;
    }

/* Visual gráfico animado */

.hero-visual {
    height: 80px;
    position: relative;
    overflow: hidden;
}

.graph-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: slideGraph 3s infinite ease-in-out;
}

@keyframes slideGraph {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}


/* ===============================
   FORM
================================ */

.register-form-area {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-card {
    width: 100%;
    max-width: 420px;
    padding: 50px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    backdrop-filter: blur(25px);
}

    .form-card h2 {
        margin-bottom: 30px;
    }

/* ================================
   LOGO
================================ */

.logo-area {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

    .logo-area img {
        height: 110px;
    }

.subtitle {
    display: flex;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}


/* INPUTS */

.input-group {
    margin-bottom: 20px;
    position: relative;
}

    .input-group input {
        width: 100%;
        padding: 14px 14px 14px 40px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.04);
        color: white;
        font-size: 14px;
    }

    .input-group::before {
        content: attr(data-icon);
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
    }

/* TERMS */

.terms {
    font-size: 13px;
    padding: 10px;
    color: var(--text-muted);
}

/* BUTTON */

.btn-primary {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn-primary:hover {
        box-shadow: 0 0 30px var(--accent-glow);
        transform: translateY(-3px);
    }

/* LOGIN LINK */

.login-link {
    margin-top: 20px;
    text-align: center;
}

    .login-link a {
        font-size: 13px;
        color: var(--text-muted);
        text-decoration: none;
    }

        .login-link a:hover {
            color: white;
        }

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 992px) {

    body.register-page {
        overflow: auto;
    }

    .register-container {
        flex-direction: column;
    }

    .register-hero {
        padding: 40px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .register-form-area {
        padding: 20px;
    }
}
