/* CSS Document */

/* INICIO CSS MENU */
.vertical-menu {
  background-color: #1a1a1a;
  padding: 20px;
  width: 250px; /* Ancho predeterminado en pantallas grandes */
  max-width: 100%; /* Se adapta en pantallas más pequeñas */
  font-size: 16px;
  display: flex;
  flex-direction: column; /* Los botones se apilan verticalmente */
  }
  
  .vertical-menu a {
    display: block;
    padding: 12px 16px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    background-color: #333; /* Fondo inicial */
    border-bottom: 1px solid #444; /* Línea divisoria */
    white-space: nowrap; /* Evita saltos de línea */
    overflow: hidden; /* Previene texto desbordado */
    text-overflow: ellipsis; /* Añade puntos suspensivos si el texto es muy largo */
    
  }
  
  .vertical-menu a:hover {
    background-color: #007BFF; /* Fondo al pasar el ratón */
    color: #fff;
  }
  
  .vertical-menu a.active {
    background-color: #0056b3;
    color: #fff;
    font-weight: bold;
  }
  /* Contenido principal */
#contenido,
#resultado {
    padding: 20px;
    background-color: #202020;
    color: #ccc;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    border-left: 1px solid #333;
}

/* Caja de "Novedades" */
#contenido h2 {
    color: #4aa3ff;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

#contenido p {
    text-align: justify;
}
  
  nav {
	/* Bordes redondeados */
	-webkit-border-radius: 10px; /* Para Chrome y Safari */
	-moz-border-radius: 10px; /* Para Firefox */
	-o-border-radius: 10px; /* Para Opera */
	border-radius: 10px; /* El estándar por defecto */
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#CCC)); /* Chrome y Safari */
	/* Degradados */
	background-image: -moz-linear-gradient(top center, #FFF, #CCC); /* Firefox */
	background-image: -o-linear-gradient(top, #FFF, #CCC); /* Opera */
	background-image: linear-gradient(to bottom, #FFF, #CCC); /* El estándar por defecto */
	overflow: hidden;
	padding: 10px;
	width: 950px;
  }
  
  nav ul {
	list-style: none;
	margin: 0 10px;
	padding: 0;
  }
  
  nav ul li {
	/* Bordes redondeados */
	-webkit-border-radius: 5px; /* Chrome y Safari */
	-moz-border-radius: 5px; /* Firefox */
	-o-border-radius: 5px; /* Opera */
	border-radius: 5px; /* Estándar por defecto */
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	margin-right: 10px;
	text-align: center;
	/* Sombras para texto */
	text-shadow: 0px 1px 0px #FFF;
  }
  
  nav ul li:hover {
	/* Degradado de fondo */
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#E3E3E3)); /* Chrome y Safari */
	background-image: -moz-linear-gradient(top center, #FFF, #E3E3E3); /* Firefox */
	background-image: -o-linear-gradient(top, #FFF, #E3E3E3); /* Opera */
	background-image: linear-gradient(to bottom, #FFF, #E3E3E3); /* Estándar por defecto */
	/* Sombras */
	-webkit-box-shadow: 1px -1px 0px #999; /* Chrome y Safari */
	-moz-box-shadow: 1px -1px 0px #999; /* Firefox */
	-o-box-shadow: 1px -1px 0px #999; /* Opera */
	box-shadow: 1px -1px 0px #999; /* Estándar por defecto */
	border: 1px solid #E3E3E3;
  }
  
  nav ul li a {
	color: #999;
	display: block;
	padding: 10px;
	text-decoration: none;
	/* Transiciones */
	-webkit-transition: 0.4s linear all;
	-moz-transition: 0.4s linear all;
	-o-transition: 0.4s linear all;
	transition: 0.4s linear all;
  }
  
  nav ul li a:hover {
	color: #000;
  }
  
  /* Modal Carga */
  .myImg {
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
  }
  
  .myImg:hover {
	opacity: 0.7;
  }
  
  /* The Modal (background) */
  .modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(171, 161, 162, 0.6); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
	margin: auto;
	display: block;
	width: 100px;
	height: 100px;
	max-width: 100px;
  }
  /* Estilos generales del formulario */
#formu {
    max-width: 800px;
    margin: 30px auto;
    padding: 2rem;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(144, 205, 244, 0.2);
}

/* Estilos para los títulos */
#formu h3 {
    color: #1a365d;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #63b3ed;
    padding-bottom: 10px;
}

#formu h4 {
    color: #2c5282;
    font-size: 16px;
    font-weight: 500;
    margin: 1.5rem 0 0.5rem 0;
}

/* Estilos para inputs de texto */
#formu input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

#formu input[type="text"]:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.2);
}

/* Estilos para el select */
#formu select {
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

#formu select:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.2);
}

/* Estilos para labels */
#formu label {
    font-size: 16px;
    color: #4a5568;
    margin: 0 8px;
}

/* Estilos para los botones */
.ui-button {
    background: linear-gradient(to bottom, #4299e1, #3182ce);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ui-button:hover {
    background: linear-gradient(to bottom, #3182ce, #2b6cb0);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
}

/* Estilos para inputs de archivo */
#formu input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background-color: #edf2f7;
    border: 2px dashed #63b3ed;
    border-radius: 6px;
    cursor: pointer;
}

#formu input[type="file"]:hover {
    background-color: #e2e8f0;
}

/* Estilos para el div validado */
#validado {
    margin-top: 20px;
    padding: 20px;
    background: rgba(237, 242, 247, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(144, 205, 244, 0.3);
}

/* Estilos para inputs específicos */
.cuit, .numero, .decimal {
    width: auto;
    text-align: center;
}

.fecha {
    background-color: #f7fafc !important;
    color: #4a5568;
    cursor: not-allowed;
}

/* Estilos responsive */
@media (max-width: 768px) {
    #formu {
        padding: 1.5rem;
        margin: 15px;
    }

    #formu h3 {
        font-size: 20px;
    }

    #formu input[type="text"],
    #formu select {
        width: 100%;
        margin-bottom: 10px;
    }
    

    #formu label {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    .vertical-menu {
      width: 100%; /* Ocupa todo el ancho disponible */
  }

  .vertical-menu a {
      padding: 12px 10px; /* Ajusta el espacio interno */
      font-size: 14px; /* Reduce ligeramente el tamaño del texto */
  }
  /* Opcional: Ajustes para pantallas ultra pequeñas (teléfonos) */
@media (max-width: 480px) {
  .vertical-menu {
      font-size: 14px; /* Texto más pequeño */
  }

  .vertical-menu a {
      padding: 10px 8px;
      text-align: center; /* Centra el texto en pantallas muy pequeñas */
  }
}

/* Estilos para mensajes de error o validación */
.error {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
}

.success {
    color: #38a169;
    font-size: 14px;
    margin-top: 5px;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#validado {
    animation: fadeIn 0.3s ease-out;
}
}