/*--------------GENERAL---------------*/
:root{
    --main-color: #045184;
    --black: #13131a;
    --bg: #ffffff;
    --border: 1rem solid rgba(255,255,255,.3);
    
    --color-primary: #7380EC;
    --color-danger: #FF7782;
    --color-success: #41F1B6;
    --color-warning:#FFBB55;
    --color-white: #fff;
    --color-info-dark:#7D8DA1;
    --color-info-light:#DCE1EB;
    --color-dark:#363949;
    --color-light:rgba(132,139,200,0.18);
    --color-primary-variant:#111E88;
    --color-dark-variant:#677483;
    --color-backgorund:#F6F6F9;

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;

    --card-padding: 1.8rem;
    --padding-1: 1.2rem;

    --box-shadow: 0 2rem 3rem var(--color-light);
}

/*---------------------DARK THEME VARIABLES---------------*/
.dark-theme-variables{
    --color-backgorund: #181a1e;
    --color-white: #202528;
    --color-dark: #edeffd;
    --color-dark-variant: #a3bdcc;
    --color-light: rgba(0, 0, 0, 0.4);
    --box-shadow: 0 2rem 3rem var(--color-light);
}

*{
    margin: 0px;
    padding: 0px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100&family=Poppins:wght@100&display=swap');

html, body{
    width: 100%;
    height: 100%;
    margin: auto;
    font-family: 'Poppins', sans-serif;
    background-color:var(--color-white);
}


.social-links a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin-right: 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}
/*--------------GENERAL---------------*/


/*-------------------------------------------HEADER---------------------------------------------*/
header{
    background-color: #1D1128;
    width: 100%;
    height: 15%;
    float: left;
}
input{
    font-family: 'Poppins', sans-serif;
}

header .logo img{
    margin-top: 20px;
    height: 50px;
    margin-left: 5px;
}
header .logo{
    float: left;
    margin-left: 15px;
}

header nav{
    float: left;
    padding-top: 3%;
    padding-left: 2%;
}
header .navbar a{
    color: white;
    font-size: 20px;
    text-decoration: none;
}
.navbar{
    display: none;
}
.navbar2{
    box-sizing: border-box;
    display: block;
}
.navbar2 a{
    color: white;
    text-decoration: none;
}
.navbar2 ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
}
.navbar2 ul li a{
    display: list-item;
    text-align: -webkit-match-parent;
    margin-left: 4rem;
}
.navbar2 a:hover{
    color: orange;
    border-bottom: 2px solid orange;
    transition: all 0.1s ease-in-out;
    box-shadow: 5px 5px 10px 10px rgba(0,0,0,0.15);
}
.navbar a:hover{
    color: orange;
    border-bottom: 2px solid orange;
    transition: all 0.1s ease-in-out;
}
header .icons{
    margin-top: 15px;
}
header .icons a{
    color: #FFF;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}
header .icons div:hover{
    color:var(--main-color);
}
#menu-btn{
    display: none;
}
/*-------------------------------------------HEADER---------------------------------------------*/



/*-------------------------------------------MAIN---------------------------------------------*/
main {
  max-width: 100vw;
  min-height: 100vh;
  padding: 2rem 1rem;
  background-color: #F3F4F6; /* o el color de fondo que uses */
  box-sizing: border-box;
  overflow-x: hidden;
}


.login{
    width: 60%;
    margin: 0 auto;
    margin-top: 5%;
    background-color: white;
}

.login{
    padding: 20px;
    text-align: center;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.15);
}

.login form input, .login form button, .type{
    height: 35px;
    outline: #111E88;
    padding: 0 15px;
    border: 2px solid var(--main-color);
}
.login form button{
    transition: all 0.5s ease;
}
.login form input:focus{
    border-bottom-width: 4px;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.15);
}

.login form button:hover{
    border-radius: var(--border-radius-2);
    background-color: #045184;
    color: white;
    transition: all 0.5s ease;
}
.eye-icon{
    position: relative;
    right: 2rem;
    top: 0.3rem;
    font-size: 20px;
    color: #8b8b8b;
    cursor: pointer;
}

.gallery{
    height: 30%;
    display: flex;
    box-sizing: content-box;
    text-align: center;
}
.sec{
    margin: 0 auto;
    background-color: #1D1128;
    width: 30%;
    color: white;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.15);
}
.galpic{
    height: 60%;
}



.attendance{
    width: 80%;
    margin: 0 auto;
    margin-top: 5%;
    background-color: white;
    border-radius: var(--border-radius-3);
    padding: 20px;
    text-align: center;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.15);
}

tbody, th, thead, table, tr, td{
    border: 1px solid black;
}


main {
  background: linear-gradient(to bottom, #f0f2f5, #e6e8ec); /* Menos blanco, más gris azul */
  min-height: 100vh;
}

.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.dashboard-title {
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 0.2rem;
}

.dashboard-subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.dashboard-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card .icon {
  font-size: 3rem;
  color: #4a3c91; /* Morado más discreto */
  margin-bottom: 0.5rem;
}

.dashboard-card h3 {
  font-size: 1.2rem;
  color: #2c2c2c;
  margin-bottom: 0.2rem;
}

.dashboard-number {
  font-size: 2.2rem;
  color: #3b3b3b;
  font-weight: bold;
  margin: 1rem 0;
}

.dashboard-note {
  font-size: 0.9rem;
  color: #777;
}
main {
  background: radial-gradient(circle at top left, #f0f2f5, #e6e8ec);

  background-color: #f0f2f5;
}

.login {
  width: 100%;
  max-width: 450px;
  margin: 4rem auto;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  text-align: center;
}

.login h2 {
  color: #5941A9;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.login label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.login input[type="text"],
.login input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: border-color 0.3s ease;
}

.login input:focus {
  border-color: #5941A9;
  outline: none;
}

.eye-icon {
  position: absolute;
  right: 2rem;
  top: 2.5rem;
  cursor: pointer;
  color: #aaa;
}

.login button {
  background-color: #5941A9;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.login button:hover {
  background-color: #3e2c80;
}

.login input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: #5941A9;
}

.login a {
  color: #045184;
  text-decoration: none;
  font-weight: 500;
}

.login a:hover {
  text-decoration: underline;
}

/* Gallery Section */
.gallery {
  width: 90%;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.sec {
  flex: 1 1 250px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.galpic {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.sec p {
  margin-top: 1rem;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}
/* --- LOGIN CARD --- */
.login {
  width: 100%;
  max-width: 460px;
  margin: 4rem auto;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.login h2 {
  color: #5941A9;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 1.8rem;
}

/* --- INPUTS --- */
.login label {
  display: block;
  text-align: left;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #374151;
}

.login input[type="text"],
.login input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #F9FAFB;
  margin-bottom: 1.5rem;
}

.login input:focus {
  border-color: #5941A9;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(89,65,169,0.15);
}

.eye-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #9CA3AF;
  cursor: pointer;
}

/* --- CHECKBOX --- */
.login input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: #5941A9;
}

.login a {
  color: #045184;
  text-decoration: none;
  font-weight: 500;
}
.login a:hover {
  text-decoration: underline;
}

/* --- BUTTON --- */
.login button {
  background: linear-gradient(to right, #5941A9, #6D72C3);
  color: white;
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.login button:hover {
  background: #3f3196;
}

/* --- GALLERY --- */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 90%;
  margin: 3rem auto;
}

.sec {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  text-align: center;
  padding: 1.2rem;
  width: 280px;
  transition: all 0.3s ease;
}
.sec:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.galpic {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.sec p {
  font-weight: 500;
  color: #374151;
}
/* Contenedor principal */
.login {
  max-width: 420px;
  margin: 4em auto;
  padding: 3rem 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', sans-serif;
}

/* Título */
.login h2 {
  font-size: 2rem;
  color: #5941A9;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Labels */
.login label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4B5563;
}

/* Inputs */
.login input[type="text"],
.login input[type="password"] {
  width: 100%;
  padding: 0.72rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.75rem;
  background: #F9FAFB;
  font-size: 1rem;
  transition: 0.3s;
}
.login input:focus {
  border-color: #5941A9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(89,65,169,0.15);
}

/* Eye icon dentro del input */
.field.input-field {
  position: relative;
}
.eye-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #9CA3AF;
  cursor: pointer;
}

/* Checkbox y link */
.login input[type="checkbox"] {
  accent-color: #5941A9;
}
.login a {
  color: #045184;
  font-weight: 500;
  transition: 0.2s;
}
.login a:hover {
  text-decoration: underline;
}

/* Botón */
.login button {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(90deg, #5941A9, #6D72C3);
  color: #fff;
  border: none;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(89,65,169,0.2);
  transition: 0.3s;
}
.login button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(89,65,169,0.3);
}

/* 🎨 Galería moderna */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 3rem auto;
  max-width: 960px;
}
.sec {
  background: #fff;
  width: 260px;
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.sec:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.galpic {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.sec p {
  padding: 1rem;
  color: #374151;
  font-size: 0.96rem;
  font-weight: 500;
}
.login {
  width: 100%;
  max-width: 420px;
  margin: 4em auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

/*-------------------------------------------MAIN---------------------------------------------*/





/*-------------------------------------------FOOTER---------------------------------------------*/
.footer {
  background-color: #1D1128;
  color: #f1f1f1;
  padding: 3rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  border-bottom: 2px solid #ffffff33;
  padding-bottom: 0.4rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #ddd;
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #ccc;
}

.footer-col iframe {
  border-radius: 10px;
  margin-top: 0.5rem;
}

.brand img {
  height: 60px;
  margin-bottom: 1rem;
}

.brand .legal {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.4;
}

.brand .legal a {
  color: #ccc;
  text-decoration: none;
}

.brand .legal a:hover {
  color: #FFA500;
}

.social-links a {
  display: inline-block;
  height: 38px;
  width: 38px;
  background-color: #ffffff22;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  margin-right: 0.5rem;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background-color: #FFA500;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col iframe {
    width: 100%;
  }

  .footer-col {
    max-width: 100%;
  }

  .social-links {
    justify-content: center;
  }
}

/*-------------------------------------------FOOTER---------------------------------------------*/


/*----------------------RESPONSIVE----------------------*/
@media (max-width: 767px) {
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}
@media (max-width: 574px) {
    .footer-col{
        width: 100%;
    }
}
@media (max-width: 767px) {
    nav{
        width: 50%;
        margin-bottom: 30px;
    }
}
@media (max-width:1030px){
    #menu-btn{
        display: inline-block;
        cursor: pointer;
        color: white;
        font-size: 2rem;
        float: right;
        margin-right: 1rem;
        margin-top: 20px;
    }
    .navbar2{
        display: none;
    }
    header .icons{
        margin-top: 15px;
    }
    header .icons{
        color: #FFF;
        cursor: pointer;
        font-size: 2.5rem;
        margin-left: 2rem;
    }
    header .icons div:hover{
        color:var(--main-color);
    }
    header .navbar{
        display: none;
        position: absolute;
        margin-top: 5.7rem;
        background-color: var(--color-white);
        width: 20rem;
        height: 100%;
        right: 0%;
        box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.15);
        transition: all 0.4s ease-in-out;
    }
    header .navbar.active{
        display: block;
        transition: all 0.4s ease-in-out;
    }
    header .navbar a{
        color: var(--black);
        display: block;
        margin: 1.5rem;
        padding: .5rem;
        font-size: 2rem;
    }
    .gallery{
        height: 60%;
        position: relative;
        display: block;
        text-align: center;
        align-content: center;
    }
    .sec{
        width: 80%;
        height: 30%;
    }
    .galpic{
        height: 6rem;
    }


    footer{
        height: 120%;
    }
    footer .logo img{
        margin-top: 7%;
        height: 60px;
        margin-left: 5px;
        float: left;
    }
    footer .line_footer{
        display: none;
    }
    footer .footer_sections{
        display: block;
    }
}

.social-links a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin-right: 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}