
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f7f6;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header{
background-color:#ffffff;
padding:15px 30px;
box-shadow:0 2px 5px rgba(0,0,0,0.05);

display:flex;
justify-content:space-between;
align-items:center;
}

header h1{
font-size:22px;
color:#2c3e50;
}
.usuario{
display:flex;
align-items:center;
gap:15px;
}

.campana{
width:24px;
height:24px;
cursor:pointer;
transition:0.2s;
}

.campana:hover{
transform:scale(1.1);
}

.usuario p{
font-weight:bold;
display:flex;
align-items:center;
gap:10px;
}

.usuario span{
background-color:#3498db;
color:white;
padding:4px 8px;
border-radius:50%;
font-size:13px;
}


/* GENEAL */
main {
  display: flex;
  min-height: 80vh;
  padding: 20px;
  gap: 20px;
  flex: 1;
}
/* NAVEGACIÓN LATERAL PARTE DE CONDOMINIOS LISTA */
nav {
  background-color: #2c3e50;
  color: white;
  width: 260px;
  padding: 20px;
  border-radius: 10px;
}

nav h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin-bottom: 25px;
  border-bottom: 1px solid #34495e;
  padding-bottom: 10px;
}

nav ul {
  list-style: none;
}

nav li a {
  display: block;
  color: #bdc3c7;
  text-decoration: none;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  transition: 0.2s;
}

nav li a:hover {
  background-color: #34495e;
  color: white;
}

/* PANEL PRINCIPAL O CONTENEDOR PADRE */

.panel_principal {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-content: flex-start;
}
/* COBRANZA DEL MES */
.Cobranza_mes {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
}
/* CUOTAS PENDIENTES */
.Cuotas_pendientes{
    background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
}
/* TICKETS DE MANTENIMIENTO */
.Tickets_mantenimiento {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
}

/* ALERTAS INFORMATIVAS */

#Pago_del_mes {
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
}

#Departamentos_Adeudo,
#Tickes_de_mantenimiento {
  display: block;
  font-size: 14px;
  color: #e74c3c;
  margin-bottom: 5px;
}

/* PRIMERA FILA PAGOS, ACCESO, MANTENIMIENTO */

.Pagos_recibidos {
    background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  list-style: none;
  
}
.Aceeso_directo{
      background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  list-style: none;
}
.Pagos_recibidos li p {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f4f7f6;
  font-size: 14px;
}

/* LISTA DE BOTONES */

.btn-info {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;

  background-color: #f8f9fa;
  color: #2c3e50;

  border: 1px solid #e9ecef;
  border-radius: 6px;

  cursor: pointer;
  text-align: left;
  font-weight: bold;
  transition: 0.2s;
}

.btn-info span {
  color: #3498db;
  margin-right: 10px;
}

.btn-info:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
}

/* FOOTER */

footer {
  background-color: #ffffff;
  padding: 15px 30px;
  margin-top: 20px;
  border-top: 1px solid #e9ecef;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer h3 {
  font-size: 16px;
  color: #7f8c8d;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .btn-info {
  width: auto;
  margin-bottom: 0;
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 8px 20px;
}

footer .btn-info:hover {
  background-color: #c0392b;
}
