:root {
    /* Paleta Azul */
    --blue-dark: #000428;
    --blue-medium: #004e92;
    --blue-accent: #00d2ff; /* Ciano para detalhes */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --white: #ffffff;
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* --- Configuração Geral --- */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Gradiente Azul Profundo */
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

/* --- Layout Grid --- */
.parent {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* --- CONTAINER GLASSMORPHISM --- */
.div2 {
    display: flex;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    width: 900px;
    height: 550px; /* Altura fixa para design mais limpo */
    max-width: 95%;
}

/* --- PAINEL ESQUERDO (Branding) --- */
.info-panel {
    flex: 1.2; /* Ocupa um pouco mais da metade */
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.content-center {
    z-index: 2;
    text-align: center;
}

.main-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.brand-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: var(--text-shadow);
    margin: 0;
}

.brand-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Efeito sutil de fundo no painel esquerdo */
.wave-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1), transparent 60%);
    top: -50%;
    left: -50%;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- PAINEL DIREITO (Login) --- */
.login-panel {
    flex: 1;
    background-color: rgba(0, 4, 40, 0.6); /* Azul muito escuro transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 350px;
    background: transparent !important;
    border: none;
}

.card-header h4 {
    color: var(--white);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--blue-accent);
    display: inline-block;
    padding-bottom: 5px;
}

/* Ícones Sociais */
.social_icon {
    position: absolute;
    right: 0;
    top: 0;
}
.social_icon span {
    font-size: 25px;
    margin-left: 10px;
    color: var(--blue-accent);
    transition: 0.3s;
}
.social_icon span:hover {
    color: var(--white);
    cursor: pointer;
    text-shadow: 0 0 10px var(--blue-accent);
}

/* Inputs */
.input-group-prepend span {
    width: 50px;
    background-color: var(--blue-medium);
    color: var(--white);
    border: 0 !important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

input.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #333;
}

input:focus {
    outline: none !important;
    box-shadow: 0 0 5px var(--blue-accent) !important;
}

/* Checkbox */
.remember {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.remember input {
    width: 15px;
    height: 15px;
    margin: 0 5px 0 0;
}

/* Botão de Login */
.login_btn {
    color: var(--white);
    background: linear-gradient(to right, var(--blue-medium), #0066cc);
    width: 100%;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login_btn:hover {
    background: var(--blue-accent);
    color: var(--blue-dark);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

/* Links Rodapé */
.card-footer {
    background: transparent;
    border: none;
    margin-top: 20px;
}

.links {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 10px;
}

.links a, .card-footer a {
    color: var(--blue-accent);
    text-decoration: none;
    transition: color 0.3s;
}
.links a:hover, .card-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .div2 {
        flex-direction: column;
        height: auto;
    }
    
    .info-panel {
        padding: 30px 10px;
        flex: none;
    }

    .main-logo {
        max-width: 100px;
    }

    .brand-title {
        font-size: 2rem;
    }
    
    .login-panel {
        padding: 40px 20px;
    }
}