/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Container Principal */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

/* ==================== LADO ESQUERDO ==================== */
.left-side {
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Elementos Decorativos */
.decoration-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.circle-1 {
    width: 16rem;
    height: 16rem;
    top: 0;
    right: 0;
    transform: translate(4rem, -4rem);
}

.circle-2 {
    width: 24rem;
    height: 24rem;
    bottom: 0;
    left: 0;
    transform: translate(-8rem, 8rem);
}

.circle-3 {
    width: 12rem;
    height: 12rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Conteúdo do Lado Esquerdo */
.left-content {
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: white;
    font-size: 1.875rem;
}

.logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.875rem;
}

.main-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.main-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 28rem;
    margin-bottom: 2.5rem;
}

/* Cards de Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 0.875rem;
}

.feature-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Footer do Lado Esquerdo */
.left-footer {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .left-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Botão Saiba Mais */
.btn-saiba-mais {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-saiba-mais:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-saiba-mais .arrow-icon {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.btn-saiba-mais:hover .arrow-icon {
    transform: translateX(4px);
}

/* ==================== LADO DIREITO ==================== */
.right-side {
    width: 100%;
    height: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 28rem;
}

/* Cabeçalho do Login */
.login-header {
    margin-bottom: 2.5rem;
}

.login-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.login-icon {
    color: #1a73e8;
    font-size: 1.5rem;
}

.login-title {
    color: #1f2937;
    font-size: 1.875rem;
    font-weight: 700;
}

.login-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Formulário */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.label-icon {
    color: #9ca3af;
    margin-right: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    outline: none;
    font-size: 1.125rem;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
    border-color: #1a73e8;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Lembrar-me */
.remember-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.remember-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #1a73e8;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}

.remember-label {
    color: #4b5563;
    font-size: 1rem;
    cursor: pointer;
}

/* Botão Login */
.btn-login {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(to right, #1a73e8, #0d47a1);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.4);
}

/* Módulos do Sistema */
.modules-container {
    margin-top: 2rem;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 1rem;
    border: 1px solid #bfdbfe;
}

.modules-title {
    color: #1e3a8a;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modules-title i {
    margin-right: 0.5rem;
}

.modules-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.module-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tag-blue {
    background: #bfdbfe;
    color: #1e3a8a;
}

.tag-yellow {
    background: #fef3c7;
    color: #92400e;
}

.tag-red {
    background: #fecaca;
    color: #991b1b;
}

/* Versão */
.version-info {
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 1.5rem;
}

.version-info i {
    margin-right: 0.25rem;
}

/* ==================== RESPONSIVO ==================== */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }

    .left-side {
        width: 50%;
        height: 100%;
        padding: 4rem;
    }

    .right-side {
        width: 50%;
        height: 100%;
        padding: 4rem;
    }

    .main-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .left-side {
        height: 50vh;
        padding: 1.5rem;
    }

    .right-side {
        height: 50vh;
        padding: 1.5rem;
        align-items: flex-start;
        overflow-y: auto;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .main-description {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .left-side {
        padding: 1rem;
    }

    .right-side {
        padding: 1rem;
    }

    .feature-card {
        padding: 0.75rem;
    }

    .feature-title {
        font-size: 0.875rem;
    }

    .btn-saiba-mais {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}
