@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-direction: column;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    border-radius: 1rem;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.logo svg {
    color: #3B82F6;
}

.header h1 {
    color: #1F2937;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0rem;
    margin-top: -1rem;
}

.header p {
    color: #6B7280;
    font-size: 0.875rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

.input-group {
    position: relative;
}

.input-group svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
}

.input-group input, textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #3B82F6;
    /* box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); */
}

@keyframes shine {
    0% {
        box-shadow: 0 0 5px #d32f2f8a;
    }
    50% {
        box-shadow: 0 0 20px #d32f2f88;
    }
    100% {
        box-shadow: 0 0 5px #d32f2f7a;
    }
}

.error-message, .error {
    color: white;
    background-color: #d32f2f;
    font-size: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    display: inline-block;
    animation: shine 3s infinite;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #3B82F6;
}

.remember-me label {
    color: #374151;
    font-size: 0.875rem;
}

.forgot-password {
    color: #3B82F6;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #2b7bb8;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background: #2b7bb8;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background: #2563EB;
}

.login-button:focus {
    outline: none;
    /* box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); */
}

.register-link {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6B7280;
}

.register-link a {
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.register-link a:hover {
    color: #2563EB;
}

@media (max-width: 640px) {
    .login-card {
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

.alert {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff9900;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
    margin: 20px auto;
    max-width: 40%;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
.alert:hover {
    transform: translateY(-2px);
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); */
  }
  
.alert.success {
    background: var(--verde);
    color: black;
  }
  
.alert.neutro {
    background: white;
    border: black;
    color: black;
  }