@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    --accent-color: #00d2ff;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Seu degradê antigo melhorado */
    background: linear-gradient(135deg, #2c3e50, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
}

.login-container {
    display: flex;
    width: 95%;
    max-width: 1000px;
    min-height: 600px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Painel Esquerdo com Vidro */
.left-panel {
    background: var(--primary-gradient);
    color: #fff;
    padding: 60px;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Círculos decorativos no fundo para modernizar */
.left-panel::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.left-panel h1 {
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.left-panel p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

/* Painel Direito Clean */
.right-panel {
    padding: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.right-panel h2 {
    font-weight: 600;
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 10px;
}

/* Inputs Modernos */
.form-control {
    border-radius: 12px;
    padding: 14px 18px;
    border: 2px solid #edf2f7;
    background-color: #f7fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2c5364;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(44, 83, 100, 0.1);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 8px;
}

/* Botão com Efeito */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    filter: brightness(1.2);
}

/* Footer do IP */
.mt-5.small {
    text-align: center;
    width: 100%;
    margin-top: 20px !important;
}

@media (max-width: 850px) {
    .login-container {
        flex-direction: column;
        max-width: 450px;
    }
    .left-panel {
        padding: 40px;
        text-align: center;
    }
    .left-panel h1 { font-size: 2rem; }
    .right-panel { padding: 40px; }
}