/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Colores estilo Conetsu */
:root {
  --azul: #1d2c4b;
  --rojo: #c13030;
  --blanco: #ffffff;
  --gris: #f0f0f0;
}


html, body {
	 margin: 0;
  padding: 0;
  height: 100%;
}

.wrapper {
    display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
 flex: 1;
  padding: 0; /* Ajusta según necesidad */
}
.main-content {
  flex: 1;
  padding: 30px 20px;
  background: #eef2f5;
}

body {
  font-family: Arial, sans-serif;
  background: #eef2f5;
  color: #333;
}

/* HEADER */
.header {
background: white;
  color:#1d2c4b;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
	box-shadow: 0 4px 6px -2px silver;
	font-weight: bold;
	font-size: 18px;
}


.logo img {
  width: 220px;
	height: 45px;
}
.navbar {
  position: relative;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

.menu a {
  color: #1d2c4b;
  text-decoration: none;
  padding: 10px;
  display: block;
}

/* Submenús */
.submenu .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  display: none;
  flex-direction: column;
  min-width: 150px;
}

.submenu:hover .dropdown {
  display: flex;
}

.dropdown a {
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1d2c4b;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* MAIN */
.main-content {
  padding: 30px 20px;
  background: var(--blanco);
}

/* FOOTER */
.footer {
  background: var(--azul);
  color: var(--blanco);
  text-align: center;
  padding: 20px 0; 
	margin: 0;
	height: 120px;
}

.footer-links a {
  color: var(--blanco);
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 82px;
    left: -100%;
    height: 100vh;
    width: 50%;
    background: white;
    flex-direction: column;
    padding-top: 70px;
    transition: left 0.3s ease;
    z-index: 1000;
	box-shadow: 0 4px 6px -2px silver;  
  }

  .menu.active {
    left: 0;
  }

  .menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .submenu .dropdown {
    position: static;
    display: none;
    background: white;
    flex-direction: column;
  }

  .submenu.open .dropdown {
    display: flex;
  }

  .menu li.submenu > a::after {
    content: " ▼";
    font-size: 0.8rem;
  }

  .menu li.submenu > a {
    cursor: pointer;
  }
}

.login-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: var(--blanco);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--azul);
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  margin-bottom: 5px;
  font-weight: bold;
}

.login-form input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-form button {
  padding: 10px;
  background: var(--azul); /* color del footer */
  color: var(--blanco);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-form button:hover {
  background: var(--rojo);
}

.panel-jardinero {
  text-align: center;
  padding: 20px;
}

.panel-jardinero h2 {
  font-size: 1.8rem;
  color: var(--azul);
  margin-bottom: 30px;
}

.opciones-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card-opcion {
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.card-opcion:hover {
  transform: translateY(-5px);
}

.card-opcion .icono {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
}

.card-opcion .icono img {
  width: 100%;
  height: auto;
}

.card-opcion h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--azul);
}

.btn-admin {
  background: var(--azul);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-admin:hover {
  background: var(--rojo);
}

.tabla-pagos {
  padding: 20px;
  background: var(--blanco);
	
	margin-top: 30px;
}

.tabla-pagos h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--azul);
}

.tabla-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

thead th {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 12px;
  text-align: left;
  font-weight: bold;
}

tbody td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #f1f1f1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: var(--blanco);
    padding: 10px;
  }

  td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #eee;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    color: var(--azul);
    flex-basis: 50%;
    text-align: left;
  }

  td:last-child {
    border-bottom: none;
  }
}

.sin-registros {
  text-align: center;
  padding: 40px 20px;
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 40px auto;
}

.icono-vacio img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.7;
}

.sin-registros h3 {
  font-size: 1.5rem;
  color: var(--azul);
  margin-bottom: 10px;
}

.sin-registros p {
  color: #666;
  margin-bottom: 30px;
}

.btn-regresar {
  display: inline-block;
  background-color: var(--azul);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-regresar:hover {
  background-color: var(--rojo);
}
.mensajes-recibidos {
  padding: 30px 20px;
  background: var(--blanco);
  max-width: 800px;
  margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 50px;
}

.mensajes-recibidos h2 {
  text-align: center;
  color: var(--azul);
  margin-bottom: 30px;
}

.mensaje-card {
  background: #f9f9f9;
  border-left: 6px solid var(--azul);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mensaje-card h3 {
  margin-bottom: 10px;
  color: var(--azul);
}

.mensaje-card p {
  margin-bottom: 8px;
  line-height: 1.5;
}
.info-usuario{
	
	width: 90%;
	max-width: 800px;
	background: none;
	padding: 10px auto;
	margin: 10px auto;
}

.info-card {
  background: #f9f9f9;
  border-left: 6px solid var(--azul);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	max-width: 98%;
	margin: 10px auto;
}

.info-card h2 {
  margin-bottom: 10px;
  color: var(--azul);
	
}

.info-card p {
  margin-bottom: 8px;
  line-height: 1.5;
}

.mensaje-card .fecha {
  font-size: 0.9rem;
  color: #555;
}
:root {
  --rojo: #c13030;
}

.form-usuario {
	width: 90%;
  max-width: 600px;
  margin: 40px auto;
  background: var(--blanco);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-usuario h2 {
  text-align: center;
  color: var(--azul);
  margin-bottom: 20px;
}

.form-usuario form {
  display: flex;
  flex-direction: column;
}

.form-usuario label {
  margin-bottom: 5px;
  color: var(--azul);
  font-weight: bold;
}

.form-usuario input,
.form-usuario textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-usuario textarea {
  resize: vertical;
  min-height: 80px;
}

.form-usuario button {
  background: var(--azul);
  color: var(--blanco);
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-usuario button:hover {
  background: var(--rojo);
}

.panel-dinamico3 {
  text-align: center;
  padding: 20px;
}

.panel-dinamico3 h2 {
  font-size: 1.8rem;
  color: var(--azul);
  margin-bottom: 30px;
}

.opciones-panel3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.card-opcion3 {
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.card-opcion3:hover {
  transform: translateY(-5px);
}

.card-opcion3 .icono3 {
  font-size: 2rem;
  margin-bottom: 10px;

}

.card-opcion3 h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--azul);
}

.btn-admin3 {
  background: var(--azul);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-admin3:hover {
  background: var(--rojo);
}


.form-container {
      width: 90%;
	max-width: 800px;
      margin: 40px auto;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    h2 {
      text-align: center;
      color: #1d2c4b;
    }
    label {
      display: block;
      margin: 10px 0 5px;
      color: #333;
    }
    input[type="text"], input[type="email"], input[type="file"] {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    button {
      margin-top: 20px;
      padding: 10px 20px;
      background: #1d2c4b;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    button:hover {
      background: #2c3e65;
    }

 .perfil-container {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
	 width: 100%;
      max-width: 800px;
      margin: 0 auto;
	 margin-top: 20px;
	 margin-bottom: 50px;
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .logo33 {
      flex: 1 1 250px;
      text-align: center;
    }
    .logo33 img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }
    .tipo-logo {
      font-size: 14px;
      margin-top: 5px;
      color: #555;
      font-style: italic;
    }
    .info {
      flex: 2 1 500px;
      padding: 20px;
    }
    .info h2 {
      color: #1d2c4b;
      margin-top: 0;
    }
    .info p {
      margin: 8px 0;
    }
    .boton-editar {
      display: inline-block;
      margin: 20px 0;
      background-color: #1d2c4b;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      text-decoration: none;
    }
    .boton-editar:hover {
      background-color: #2c3e65;
    }
    #mapa {
      width: 100%;
      height: 300px;
      border-radius: 10px;
      margin-top: 20px;
    }
    @media (max-width: 768px) {
      .perfil-container {
        flex-direction: column;
        padding: 10px;
      }
      .logo, .info {
        flex: 1 1 100%;
        text-align: center;
        padding: 10px;
      }
      .info {
        padding-top: 0;
      }
    }

  .contenedor {
            max-width: 700px;
            margin: auto;
            background: #fff;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 0 12px rgba(0,0,0,0.1);
            
        }


        .dato {
            margin-bottom: 15px;
            font-size: 17px;
            color: #333;
        }

        .dato span {
            font-weight: bold;
            color: #1d2c4b;
        }

        .btn-volver {
            margin-top: 30px;
            display: inline-block;
            background-color: #1d2c4b;
            color: white;
            padding: 12px 24px;
            border-radius: 6px;
            text-decoration: none;
        }

        @media (max-width: 600px) {
            .contenedor {
                padding: 15px;
            }
        }


