@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  font-family: "Poppins";
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background: #55d07a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 2px 15px;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

header button, header div button {
  background-color: #4CAF50;
  /* Botón verde */
  color: white;
  border: none;
  border-radius: 8px;
  /* Bordes redondeados */
  font-size: 14px;
  cursor: pointer;
  padding: 10px 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

main {
  display: flex;
}

.toolbox {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Espaciado uniforme entre botones */
  background-color: #ffffff;
  /* Fondo blanco */
  padding: 20px;
  border-radius: 12px;
  /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Sombra para efecto de elevación */
  width: 220px;
  max-height: 605px;
  position: fixed;
}
.toolbox div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.toolbox div input {
  width: 50%;
}
.toolbox div div {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.toolbox div div button {
  width: 100%;
  margin-left: 10px;
  height: 100%;
  padding: 10px;
  background-color: #007BFF;
  /* Botón verde */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.tool-btn {
  padding: 10px 15px;
  background-color: #4CAF50;
  /* Botón verde */
  color: white;
  border: none;
  border-radius: 8px;
  /* Bordes redondeados */
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.tool-btn:hover {
  background-color: #45a049;
  /* Color más oscuro al pasar el mouse */
  transform: scale(1.05);
  /* Efecto de zoom */
}

.tool-btn:active {
  transform: scale(0.95);
  /* Efecto de clic */
}

.tool-btn.active {
  background-color: #007BFF;
  /* Botón activo en azul */
}

.tool-input {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  /* Fondo claro */
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.tool-input:hover {
  border-color: #4CAF50;
  /* Color de borde al pasar el mouse */
  background-color: #ffffff;
  /* Fondo blanco al pasar el mouse */
}

.save-btn {
  background-color: #FF5722;
  /* Botón de guardar en naranja */
}

.save-btn:hover {
  background-color: #E64A19;
  /* Color más oscuro al pasar el mouse */
}

.pdf-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 300px);
  padding: 20px;
  margin-left: 250px;
}

canvas {
  border: 1px solid #ccc;
  margin-bottom: 20px;
  width: 90%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}
.modal-content textarea {
  border-radius: 10px;
}

.close-text {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #000000;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: red;
}

/* Estilos mejorados para el modal de inicio de sesión */
.login-modal {
  display: none;
  /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  /* Fondo más oscuro para mayor contraste */
}

.login-modal .modal-content {
  background-color: #f9f9f9;
  /* Fondo claro y limpio */
  margin: 10% auto;
  padding: 30px;
  border: none;
  /* Sin bordes */
  width: 35%;
  max-width: 500px;
  border-radius: 12px;
  /* Bordes redondeados */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  /* Sombra más pronunciada */
  font-family: "Arial", sans-serif;
}

.login-modal h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  /* Texto oscuro */
  text-align: center;
}

.login-modal label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
  /* Texto gris */
}

.login-modal input[type=email],
.login-modal input[type=password] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.login-modal input[type=email]:focus,
.login-modal input[type=password]:focus {
  border-color: #4CAF50;
  /* Color de enfoque */
  outline: none;
}

.login-modal button {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  /* Botón verde */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-modal button:hover {
  background-color: #45a049;
  /* Color más oscuro al pasar el mouse */
}

.login-modal .close-login {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.login-modal .close-login:hover,
.login-modal .close-login:focus {
  color: #333;
  /* Color más oscuro al pasar el mouse */
}

.login-modal form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Espaciado uniforme entre elementos */
}

/* Modal de Guardar PDF */
#saveModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

#saveModal .modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 40%;
  max-width: 600px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
}

#saveModal h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-container label {
  font-size: 14px;
  font-weight: bold;
  color: #555;
}

.filter-container input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.client-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
}

.client-list div {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.client-list div:last-child {
  border-bottom: none;
}

#confirmSaveBtn {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#confirmSaveBtn:hover {
  background-color: #45a049;
}

.close-save {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.close-save:hover {
  color: #333;
}

.client-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.client-item:hover {
  background-color: #f1f1f1;
}

.client-item.selected {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hidden {
  display: none;
}

/* Modal para abrir PDF */
#openPdfModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

#openPdfModal .modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

#openPdfModal .modal-body {
  display: flex;
  gap: 20px;
}

.client-aside {
  flex: 1;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
}

.client-aside .filter-container {
  margin-bottom: 15px;
}

.client-aside .filter-container input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.client-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.client-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.client-item:hover {
  background-color: #f1f1f1;
}

.client-item.selected {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

.pdf-section {
  flex: 2;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
}

.pdf-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.pdf-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  aspect-ratio: 1;
}

.pdf-item:hover {
  background-color: #6bd7a3;
  transform: scale(1.05);
}

.pdf-item canvas {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.pdf-item span {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  word-wrap: break-word;
  width: 100%;
}

.close-open-pdf {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-open-pdf:hover {
  color: red;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sortable-page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: auto;
  height: 80%;
}

.sortable-page-list canvas {
  border: 1px solid #ccc;
  cursor: move;
  width: 30% !important;
  max-height: 45%;
}

.reorder-modal-content {
  width: 100% !important;
  height: 70% !important;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}

.close-reorder {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #000000;
}

#confirmReorderBtn, #addTextBtn {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}/*# sourceMappingURL=home.css.map */