* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #dc2626;
    --accent-color: #fbbf24;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    background-image: url(../media/img/webSegEagle8.jpg);
    background-size: cover;
    background-position: center;
    color: var(--text-dark);
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Background com gradiente animado */
/*.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #1e40af 50%, #dc2626 75%, #1e40af 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
}*/

/*@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}*/

/* Efeito de partículas (overlay) */
/*.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}*/

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    z-index: 1;
}

/* Caixa de Login */
.login-box {
    background: white;
    border-radius: 20px;
    padding: 70px;
    width: 100%;
    height:100%;
    max-width: 450px;
    box-shadow: 0 10px 25px #305071;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter:blur(10px);
    animation: slideInLeft 0.6s ease-out;
}

/* Logo */
.logo-container {
  width: 320px;
  height: 115px;
  /* border removida */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo {
  animation: float 4s ease-in-out infinite;
}

/*@keyframes float {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-8px); }
  50%  { transform: translateY(0); }
  75%  { transform: translateY(8px); }
  100% { transform: translateY(0); }
}*/

.logo svg {
    width: 100%;
    height: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-container h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.logo-container .subtitle {
    font-size: 14px;
    color: var(--text-light);
}

/* Formulário */
.form {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* Grupo de formulário */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-lighter);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.input-icon {
    width: 20px;
    height: 20px;
    margin: 0 12px;
    stroke: var(--text-light);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-light);
}

/* Botão toggle de senha */
.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-light);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.toggle-password:hover svg {
    stroke: var(--primary-color);
}

/* Checkbox customizado */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

#remember {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

#remember:hover {
    border-color: var(--primary-color);
}

#remember:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 111.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
}

.checkbox-label {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    user-select: none;
}

/* Botão de submissão */
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* Link de senha esquecida */
.link-forgot {
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.link-forgot::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.link-forgot:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Rodapé */
.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-light);
}

/* Painel informativo */
.info-panel {
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    height: fit-content;
    color: var(--text-dark);
    animation: slideInRight 0.6s ease-out;
    box-shadow: 0 10px 25px #305071;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}

.info-content > p {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.features {
    list-style: none;
}

.features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.features li:hover {
    transform: translateX(5px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

/* Responsivo */
@media (max-width: 1024px) {
    .content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-panel {
        display: none;
    }
}

@media (max-width: 768px) {
    .content {
        width: 95%;
        padding: 20px;
    }
    
    .login-box {
        padding: 30px;
        max-width: 100%;
    }
    
    .logo-container h1 {
        font-size: 24px;
    }
    
    .logo svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 20px;
        border-radius: 16px;
    }

    .logo-container {
        margin-bottom: 30px;
    }
    
    .logo-container h1 {
        font-size: 22px;
    }
    
    .form-group label {
        font-size: 12px;
    }
    
    .btn-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}
