/* Eliminar márgenes y padding global */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background: #0b0c10;
}
/* Contenedor de la animación */
.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Canvas para la animación */
#tcpCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle, #1f2833, #0b0c10);
}

/* Contenido centrado */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}


/* ==================================================
  Inicio de Contenedor principal de login 
 ===============================================*/
 .login-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-group {
    text-align: left;
    padding-right: 20px;
}

/* Tarjeta de Login */
.login-card {
    margin-top: -50px;
    background-color: #2f3b39;
    opacity: 0.7;
    color: #2cafa6;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}


.perfil-logo{
    border: 1px solid #2cafa6;
    border-radius: 15px;
}

.perfil-logo .logo{
    filter: grayscale(100%) sepia(100%) saturate(500%) hue-rotate(130deg); /* Ajusta hue-rotate */
    padding: 8px;
}

/* Título */
.login-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2cafa6;
}

/* Formularios */
.login-form .form-group {
    text-align: left;
    margin-bottom: 15px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: bold;
}

.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.login-form input:focus {
    border-color: #3498db;
    background-color: #ffffff;
    outline: none;
}

/* Botón */
.login-form .button {
    width: 100%;
    padding: 10px 15px;
    background-color: #2cafa6;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.login-form .button:hover {
    background-color: #2980b9;
}

/* Enlaces */
.link-container {
    margin-top: 20px;
}

.login-link {
    color: #66fcf1;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.login-link:hover {
    text-decoration: underline;
}

/* Mensajes */
.message-container {
    margin-bottom: 20px;
}

.error-message {
    background-color: #e74c3c;
    opacity: 0.8;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #2ecc71;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Pie de Página */
.footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    z-index: 3;
}

/* ==================================================
  Fin de Contenedor principal de login 
 ===============================================*/