body{
    margin-top:50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    background-color: #F1F3F8; /*#FFFFFF;*/ /* Blanco */
    color: #333;
}

.gradient-div {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #691C32,  #AB9470);
    /*linear-gradient(90deg, #D4AF37,  #90B424);*/
    /*background-image: linear-gradient(to right, #ff7e5f, #feb47b);*/
  }

.b-div {
    width: 100%;
    height: 45px;
    position: absolute;
    background: #F1F3F8;
    transform: translateX(0px) translateY(0px);
    z-index: -1;
  }

.menuBar{
    width:100%;
    height:50px;
    display:block;
    position:fixed;
    top:0;
    left:0;
    background-color: #9F2241;/*#61732A;*/ /* #F1F3F8;*/ /*white */;/*#333;*/
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.2);*/
}

.logo{
    float:left;
}

.menuText{
    float:left;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 12px 16px;
    background: linear-gradient(90deg, #9F2241,  #AB9470); /*linear-gradient(90deg, #D4AF37,  #90B424);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /*text-shadow: 1px 1px 12px #00000033;*/
}

.menuTextWelcome{
    float:left;
    font-size: 2.5rem;
    font-weight: normal;
    padding: 12px 16px;
    background: linear-gradient(90deg, #D4AF37,  #90B424);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*a link*/

.alink{
    padding: 10px 8px;
    background-color: #DBEAFE;
    text-decoration: none;
    font-size: 16px;
    height: 15px;
    border-radius: 25px; /*15*/
    border: 2px solid #EFF6FF;/*#BCA986;*/ /*#D4AF37;*/
    color: black;/*#BCA986;*//*#D4AF37;*/
    /*transform: translateX(0px) translateY(10px);*/
    align-content: center;

}

.nav{
    float:right;
    margin-right:10px;
    display: flex;
    gap: 10px;
}

 .nav form {
    margin: 0;
    padding: 12px 16px;
    align-content: center;
    transform: translateX(0px) translateY(5px);

  }

  #searchInput {
    border-radius: 4px;
    border: 2px solid #235B4E; /*#90B424;*/
    border-radius: 8px;
    font-size: 1em;
    height: 25px;
  }

  .searchInputP {
    border-radius: 4px;
    border: 2px solid  #235B4E;
    border-radius: 8px;
    font-size: 1em;
    /*transform: translateX(0px) translateY(6px);*/
    height: 25px;
  }

.nav a {
    display: inline-flex;
    padding: 10px 8px;
    background-color:  white;
    /*padding: 10px;*/
    text-decoration: none;
    font-size: 16px;
    height: 15px;
    border-radius: 15px;
    border: 2px solid #BCA986; /*#D4AF37;*/
    color: #BCA986;/*#D4AF37;*/
    transform: translateX(0px) translateY(10px);
    align-content: center;
}

.nav a:hover {
    /*background-color: #575757;*/
    /*background-color:  #90B424;*/
    border: 2px solid #9F2241; /*#90B424;*/
    /*background-image: linear-gradient(0deg, #D4AF37, #39FF14);*/
    height: 15px;
    border-radius: 15px;
    color: #BCA986; /*#D4AF37;*/
    transform: translateX(0px) translateY(10px);
}


/*.nav ul li{
    list-style:none;
    float:left;
}*/

/* The right/left fixed sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
    width: 100px; /* Width of the sidebar */
    position: fixed; /* Fixed position */
    top: 50;
    /*right: 0;*/ /* Align to right side */
    left: 0;
    background-color: #F1F3F8;/*#f9f9f9;*/ /* #333;*/
    padding-top: 20px;
    box-sizing: border-box;
    z-index: 0;
}

.bottom-element {
  margin-top: bottom; /* pushes this element to the bottom */
}

/* Sidebar links */

.sidebar a {
    display: block;
    color: black;
    padding: 12px 16px;
    /*text-decoration: none;*/
    font-size: 16px;
    margin-bottom: 10px; 
}

/* Hover effect */
/*
.sidebar a:hover {
    background-color: #575757;
    border-radius: 10px;
}*/ 

/* notification, messages */

#goodMess {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: white;
  color: #000;
  text-align: center;
  border-radius: 40px;
  border: 3px solid  #39FF14;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 50px;
  font-size: 17px;
  box-sizing: border-box;
  box-shadow: 0 7px 14px rgba(0,0,0,0.2);

}

#goodMess.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 3.0s;
  animation: fadein 0.5s, fadeout 0.5s 3.0s;
}

#upMess {
  visibility: hidden ;/*visible;*/
  min-width: 250px;
  margin-left: -125px;
  background-color: white;
  color: #000;
  text-align: center;
  border-radius: 40px;
  border: 3px solid  cyan;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 50px;
  font-size: 17px;
  box-sizing: border-box;
  box-shadow: 0 7px 14px rgba(0,0,0,0.2);

}

#upMess.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 3.0s;
  animation: fadein 0.5s, fadeout 0.5s 3.0s;
}


#badMess {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: white;
  color: #000;
  text-align: center;
  border-radius: 40px;
  border: 3px solid red;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 50px;
  font-size: 17px;
  box-sizing: border-box;
  box-shadow: 0 7px 14px rgba(0,0,0,0.2);

}

#badMess.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 3.0s;
  animation: fadein 0.5s, fadeout 0.5s 3.0s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 50px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 50px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 50px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

.notification {
  background-color: white;
  color: white;
  text-decoration: none;
  /*padding: 8px 10px;*/
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid #BCA986; /*#D4AF37;*/
  box-sizing: border-box;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);

}

/*
.notification:hover {
  background: red;
}*/

.notification .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  border-radius: 40%;
  background-color: red;
  color: white;
  font-size: 10px;
}

/* Main content */
.main {
    margin-left: 100px; /* Same width as sidebar */
    padding: 20px;
}

.main-center {
    position: absolute;
    bottom: 1;           /* Positions at bottom instead of default top */
    left: 50%;           /* Horizontal centering base */
    transform: translateX(-50%);  /* Centers perfectly by shifting left 50% of own width */
    width: 80%;
    padding: 20px;
    background-color: none;
    /* z-index: -1; */   /* Uncomment if needed, but positive values usually better */
}

.main-center2 {
    align-content: center;
    padding: 10px;
    /*background-color: red;*/
}

.gradient-footer-div {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #AB9470, #235B4E); /*linear-gradient(90deg, #00F5FF, #00D8DF);*/ /*#00F5FF;*/
  }

.footer-text{
    padding: 0px 25px;
    color: gray;
    font-size: 0.95em;
    letter-spacing: 1px;
    background: #F1F3F8;
}

/* Cuadro de login */
.login-box {
    background-color: #f9f9f9;
    border: 1.5px solid #BCA986;/*#D4AF37;*/
    border-radius: 22px;
    padding: 30px 30px;
    max-width: 400px;
    margin: 50px auto 0;
    box-shadow: 0 6px 12px rgba(212,175,55,0.4);
}

.login-box h2 {
    color: #9F2241;/*#D4AF37;*/
    margin-bottom: 25px;
    font-weight: 900;
    text-align: center;
    /*text-transform: uppercase;*/
    letter-spacing: 2px;
}

.login-box label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="email"] {
    width: 100%;
    padding: 12px 5px;
    margin-bottom: 20px;
    border: 2px solid  #10312B;/*#90B424;*/
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus,
.login-box input[type="email"]:focus {
    border-color: #9F2241;/*#00F5FF;*/
    outline: none;
    box-shadow: 0 0 8px rgba(159,34,65,0.7); /*rgba(0,245,255,0.7)*/;
}


.login-box button {
    width: 100%;
    background: linear-gradient(45deg, #BCA986,  #691C32); /*linear-gradient(45deg, #D4AF37,  #90B424);*/ /*#90B424;*/
    color: white;/*#000;*/
    font-weight: normal;
    font-size: 1.1em;
    padding: 12px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 8px 12px #BCA986;/*#D4AF37;*/ /*12px rgba(57,255,20,0.6);*/
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}


.login-box button:hover {
    background: linear-gradient(45deg, #BCA986,  #AB9470); /*linear-gradient(45deg, #00F5FF,  #00F5FF);*/ /*#00F5FF;*/
    color: #fff;
    box-shadow: 0 8px 16px rgba(188,169, 134,0.8); /*rgba(0,245,255,0.8);*/
}
/*
.login-box button {
    width: 100%;
    background-color: #D4AF37; /*#39FF14;*/ /* Verde neón *
    color: white;/*#39FF14;*
    font-weight: normal;
    font-size: 1.2em;
    padding: 6px 10px;
    border: 2px solid #D4AF37; /*#39FF14; /*#D4AF37;*
    border-radius: 12px;
    cursor: pointer;
    /*box-shadow: 0 6px 12px rgba(57,255,20,0.6);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.login-box button:hover {
    background-color: white; /* Azul neón *
    border: 2px solid #00F5FF;
    color: #00F5FF;
    /*box-shadow: 0 8px 16px rgba(0,245,255,0.8);*
}*/

/*Container*/

.container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns, equal width */
    grid-template-rows: repeat(2, 300px); /* 280 3 rows, set height to XXpx */
    gap: 10px; /* space between items */
    max-width: 850px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid #D4AF37;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: -0.5;
}

.grid-item {
    /*background: rgba(212, 175, 55, 0.2); /* oro *
    color: #764ba2;*/
    display: flex;
    justify-content:center;
    align-items: center;
    padding: 0.2rem;
    font-weight: 400;
    font-size: 1.5rem;
    border-radius: 10px;
    /*box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
}

.grid-item-noti {
    /*background: rgba(212, 175, 55, 0.2);*/ /* oro */
    /*color: #764ba2;*/
    display: flex;
    justify-content:center;
    align-items: center;
    padding: 0.2rem;
    font-weight: 400;
    font-size: 1.5rem;
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
}

.container-grid-noti {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 3 columns, equal width */
    grid-template-rows: repeat(2, 260px); /* 3 rows, set height to XXpx */
    gap: 10px; /* space between items */
    max-width: 700px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid #D4AF37;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: -0.5;
}

  /* Card shape */
    .card-noti{
        background-color: #f9f9f9; /*rgba(212, 175, 55, 0.2)*/;
        /*box-shadow: 0 8px 32px rgba(0,0,0,0.2);*/
        border: 1px solid #D4AF37;
        height: 240px;
        width: 200px;
        flex-direction: column;
        display: flex;
        border-radius: 15px;
        padding: 0.5rem;
        margin-right: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .card {
        background-color: #f9f9f9; 
        border: 1px solid #BCA986; /*#D4AF37;*/
        height: 280px;
        width: 250px;
        flex-direction: column;
        display: inline-flex;/*flex;*/
        border-radius: 15px;
        padding: 0.5rem;
        margin-right: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        /*opacity: 0;
        animation: fadeInUp 1.2s ease-out forwards;*/

    }

  .card:nth-child(1) { animation-delay: 0.2s; }
  .card:nth-child(2) { animation-delay: 0.3s; }
  .card:nth-child(3) { animation-delay: 0.4s; }
  /*.card:nth-child(4) { animation-delay: 0.6s; }
  .card:nth-child(5) { animation-delay: 0.8s; }
  .card:nth-child(6) { animation-delay: 1.0s; }*/
  

  @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


  .card-top{
    text-align: center;
    background:linear-gradient(90deg, #D4AF37,  #90B424); /* #D4AF37;*/
    color: white; /* Oro */
    border-radius: 10px;
    font-size: 0.55em;
    font-weight: bold;
    margin-bottom: 4px;
    /*height: 16px;*/
    padding: 10px; /*10*/
    /*text-shadow: 1px 1px 2px #00000033;*/
  }

  .card-top-panel{
    text-align: center;
    background: #9F2241;/*#90B424;*/
    color: white;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: bold;
    margin-bottom: 4px;
    padding: 10px;
  }

  .h2-panel{
    font-size:4.0em; color:#BCA986; /*#9F2241;*//*#D4AF37;*/ margin:0;
  }

  .b-panel{
    font-size:1.5em;
    letter-spacing: 0.5px;
    margin-top: 0 !important;
    display: grid;
    place-items: center;
    height: 100%;
  }

  .p-panel{
    font-size: 1.5em;
    letter-spacing: 0.5px;
    margin-top: 0 !important;
    display: grid;
    place-items: center;
    height: 100%;

  }

  .card-center {
    /*background: red;*/
    flex-grow: 1;
    margin-top: 0 !important;
    margin-bottom: 4px;
    font-size: 0.5em;
    padding: 4px; /*6*/
    color: #444;
    overflow: hidden;
  }
  .card-bottom {
    display: flex;
    justify-content: center; /*flex-end;*/
    gap: 8px;
  }
  .card-button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
  }
  .card-button.primary {
    background-color: #007BFF;
    color: white;
  }
  .card-button.secondary {
    background-color: #6c757d;
    color: white;
  }
  .card-button:hover {
    opacity: 0.9;
  }

  /* Style the tab container */
  .tab {
    overflow: hidden;
    border-bottom: 0px solid #ccc;
    background-color: none;/*#f1f1f1;*/
  }
  
  /*
   *  old green #39FF14
   * new green #93FF96
   * other green #20A39E
   * other green2 #41A321
   * other green  #83A321
   * other 90B424
   * */
  /* Select */
  select {
    -webkit-appearance: none; /* Remove default arrow in WebKit browsers */
    -moz-appearance: none; /* Remove default arrow in Firefox */
    appearance: none; /* Remove default arrow in modern browsers */
    /*background: url("arrow-down-20.png") no-repeat right;  Add custom arrow */
            /*
            background: url("{{ url_for('static',filename='arrow-30.png') }}") no-repeat right;  Add custom arrow */
            background-color: white; /* White background */
            border: 2px solid  #9F2241;/*#90B424;*/ /* Green border #93FF96*/
            padding: 10px; /* Padding inside the select */
            font-size: 14px; /* Font size */
            cursor: pointer; /* Change cursor to pointer */
            border-radius: 8px;
            /*content: '▼';*/
            width:100%;
            margin-bottom: 20px;

    }
    

  /* Style the buttons inside the tab */
  .tab a {
    background-color: none;
    cursor: pointer;
    transform: translateY(0px);
    float: left;
    border: none;
    outline: none;
    height: 30px;
    width: 30px;
    border-radius: 50%;

  }
  
  /* Change background color on hover */
  .tab a:hover {
    
    background-color: #BCA986; /*#D4AF37;*/

  }
  
  /* Active/current tab */
  .tab a.active {
    
    background-color: #BCA986;/*#D4AF37;*/
  }
  
  /* Tab content */
  .tabcontent {
    padding: 8px; /*16*/
    border: 0px solid #ccc;
    /*border-top: none;*/
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0 !important;

  }

  .imgTab{
    transform: translateX(3px) translateY(3px);
  }

  .imgTab2{
    transform: translateX(0px) translateY(3px);
  }

  .aLink {
      text-decoration: none; /* Removes the underline */
      color: inherit;         /* Makes the link the same color as the surrounding text */
      cursor: pointer;       /* Keeps the hand icon so users know it's clickable */
      padding: 10px;
      z-index: -1;
  }

/* Change the color when the user hovers over it */
.aLink:hover {
    background-color: #D4AF37; /* Oro */
    border: none;
    border-radius: 5%; 
    height: 50px;
    padding: 10px;
}

/* Circular button style */

/*
.circular-button2 {
    background-color: #D4AF37; /* Oro *
    border: none;
    border-radius: 50%; /* Circular shape 
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;  /* Prevent overflow of content 
    box-sizing: border-box; /* Include border in size 
    line-height: 1;  /* No extra line height 
    font-size: 16px; /* Adjust as necessary 
    text-decoration: none; /* For <a> remove underline *
}*/

.circular-img{
    background-color: white;
    border: 2px solid #BCA986;/*#D4AF37;*/
    border-radius: 50%;
    padding: 4px;
    width: 25px;
    height: 25px;

}

.circular-button {
    background-color: white; /*#D4AF37;*/ /* Oro */
    border: 2px solid #BCA986; /*#D4AF37;*/
    border-radius: 50%; /* Circular shape */
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex; /* inline-flex or inline-block */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline for links */
    line-height: 1; /* vertically center text if any */
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);

}

.circular-button_A { 
    background-color: #9F2241;/*#79903C;*/ /*rgba(151,179,66,0.5);*/ /*#D4AF37;*/ /* Oro */
    border: 2px solid #9F2241;/*#90B424;*/
    border-radius: 50%; /* Circular shape */
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex; /* inline-flex or inline-block */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline for links */
    line-height: 1; /* vertically center text if any */
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);

}

.circular-button_A img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none; /* so the button receives the hover */
    position: relative;
    left: -10px;
    top: -6px;
}

.circular-button_A .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -70px; /* Center tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}


/* Tooltip arrow */
.circular-button_A .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

/* Show tooltip on hover */
.circular-button_A:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.circular-button_A:hover{
    visibility: visible;
    opacity: 1;
    background-color: white;/*#D4AF37;*/ /* Oro */
    border: 2px solid  #BCA986;/*#90B424;*/
    border-radius: 50%; /* Circular shape */
    width: 40px;
    height: 40px;
}

.circular-button_A .tooltip-text-r {
    visibility: hidden;
    width: 140px;
    height: 18px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute; /*absolute*/
    z-index: 1;
    top: 50%;            /* vertically center */
    left: 125%;          /* place tooltip to the right of the button */
    margin-top: -20px;   /* adjust vertical position */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

/* Tooltip arrow pointing left */
.circular-button_A .tooltip-text-r::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;          /* at left edge of tooltip */
    margin-top: -5px;  /* center vertically */
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

/* Show tooltip on hover */
.circular-button_A:hover .tooltip-text-r {
    visibility: visible;
    opacity: 1;
}

.circular-button2 {
    background-color: #D4AF37; /* Oro */
    border: none;
    border-radius: 50%; /* Circular shape */
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.circular-button3 {
    background-color: white;/*#D4AF37; /* Oro */
    border-radius: 50%; /* Circular shape */
    border: 2px solid #BCA986; /*#D4AF37;*/ /*#39FF14;*/
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative; /*relative; revert*/
    display: inline-flex;
    align-items: center;
    justify-content: center;

}

/* Image inside the button */
.circular-button img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none; /* so the button receives the hover */
    position: relative;
    left: -10px;
    top: -6px;
/*    filter: invert(100%) sepia(100%) saturate(500%) hue-rotate(-45deg) brightness(70%) contrast(100%);*/
    /*background-color: rgba(255, 0, 0, 0.5); /* Red overlay with 50% opacity *
    mix-blend-mode: multiply;*/
    /*display: block;*/
}

/* Tooltip container */
.circular-button .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -70px; /* Center tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}


/* Tooltip arrow */
.circular-button .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

/* Show tooltip on hover */
.circular-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.circular-button:hover{
    visibility: visible;
    opacity: 1;
    background-color: white;/*#D4AF37;*/ /* Oro */
    border: 2px solid  #9F2241;/*#90B424;*/
    border-radius: 50%; /* Circular shape */
    width: 40px;
    height: 40px;
}

.circular-button2:hover{
    visibility: visible;
    opacity: 1;
    background-color:  #90B424 ;/*#D4AF37;*/ /* Oro */
    border: none;
    border-radius: 50%; /* Circular shape */
    width: 40px;
    height: 40px;
}

.circular-button3:hover{
    visibility: visible;
    opacity: 1;
    background-color: white;/*#D4AF37;*/ /* Oro */
    border: none;
    border-radius: 50%; /* Circular shape */
    border: 2px solid #9F2241; /*#90B424;*/
    width: 40px;
    height: 40px;
}


.long-button{
    background-color: white; /*#D4AF37;*/ /* Oro */
    border: 2px solid #D4AF37;
    border-radius: 50px; /* Circular shape */
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex; /* inline-flex or inline-block */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline for links */
    line-height: 1; /* vertically center text if any */
    box-sizing: border-box;
    color: #D4AF37 ;
}

.long-button:hover{
    visibility: visible;
    opacity: 1;
    background-color:  #90B424 ;/*#D4AF37;*/ /* Oro */
    border: none;
    border-radius: 12px; /* Circular shape */
    width: 40px;
    height: 40px;
}

/* ver 2 */

.circular-button2 img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none; /* so the button receives the hover */
    position: relative;
    /*left: -8px;
    top: -3px;*/
    /*display: block;*/
}

.circular-button3 img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none; /* so the button receives the hover */
    position: revert;
    /*display: inline-flex;*/

    /*left: -8px;*/
    /*top: -3px;*/
    /*display: block;*/
}

/* Tooltip container */
.circular-button2 .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -70px; /* Center tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}


/* Tooltip arrow */
.circular-button2 .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

/* Show tooltip on hover */
.circular-button2:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/*/*/

.circular-button3 .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;/*absolute;*/
    z-index: 1;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -70px; /* Center tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}


/* Tooltip arrow */
.circular-button3 .tooltip-text::after {
    content: "";
    position: normal;/*absolute;*/
    top: 100%; /* bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

/* Show tooltip on hover */
.circular-button3:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* right */

/* Tooltip container on the right side */
.circular-button .tooltip-text-r {
    visibility: hidden;
    width: 140px;
    height: 18px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute; /*absolute*/
    z-index: 1;
    top: 50%;            /* vertically center */
    left: 125%;          /* place tooltip to the right of the button */
    margin-top: -20px;   /* adjust vertical position */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

/* Tooltip arrow pointing left */
.circular-button .tooltip-text-r::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;          /* at left edge of tooltip */
    margin-top: -5px;  /* center vertically */
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

/* Show tooltip on hover */
.circular-button:hover .tooltip-text-r {
    visibility: visible;
    opacity: 1;
}

/**/

.text-gold{
    color: #BCA986;/*#D4AF37;*/ /* Oro */
    /*font-size: 0.65em;*/
    margin-bottom: 9px;
}

.text-gold2{
    color: #BCA986; /* #D4AF37;*/ 
}

.text-blue{
    color: #9F2241; /*#00D8DF;*/ /*#00F5FF;*/ /*cyan*/
    text-shadow: 1px 1px 12px #00000033;
}

.left {
  float: left;
  font-size: 12px;
}
.right {
  float: right;
  font-size: 12px;
}

  /* Dropdown container */

  .amen{
    height:25px; padding: 10px; border-radius: 12px; 
    border: 0px solid #f9f9f9;
}

  .dropdown {
    position: relative;
    display: inline-block;
  }

  /* Dropdown button */
  .dropbtn {
    background-color: red;/*#3498db;*/
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }

  /* Dropdown content, hidden by default */
  .dropdown-content {
    display: block; /* changed from none to block to make visible */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 260px;
    max-height: 400px; /* set a max height for scrolling */
    overflow-y: auto; /* enable vertical scrolling */
    text-align: left;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    left: -50px;
    top: 49px;
    padding: 15px; 
    border-radius: 12px; 
    border: 2px solid #BCA986;/*#D4AF37;*/
    line-height: 25px;
}
  /*
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9; /*#f9f9f9;*
    min-width: 260px;
    overflow-y: auto;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    left: -50px; 
    top: 49px;
  }*/
  /* Links inside the dropdown */
  .dropdown-content a {
    background-color: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    height:35px;
  }
  /* Change color on hover */
  .dropdown-content a:hover {
    color: black;
    background-color: red;/*#f1f1f1;*/
    height:35px;
  }
  /* Show the dropdown content when hovering over the dropdown container */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  /* Change button background on hover */
  .dropdown:hover .dropbtn {
    background-color: #2980b9;
  }

/* animacion */
  .welcome {
    font-size: 3rem;
    opacity: 0;
    animation: fadeZoom 5s ease forwards;
  }

  @keyframes fadeZoom {
    0% {
      opacity: 0;
      transform: scale(0.9);
    }
    20% {
      opacity: 1;
      transform: scale(1);
    }
    80% {
      opacity: 1;
      transform: scale(0.9);
    }
    100% {
      opacity: 0;
      transform: scale(1.3);
    }
  }

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 30px; /* 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(0,0,0,0.4); /* Black w/ opacity */  
}

/*Modal scroll*/
.scrollable {
    width: 810px;  /* Set a fixed width */
    height: 400px; /* Set a fixed height */
    overflow: auto; /* Enable scrolling */
    border: 0px solid #000; /* Optional border */
}

/* Modal Content */
.modal-content {
    background-color: #f9f9f9;
    border: 2px solid #BCA986;/*#D4AF37;*/
    border-radius: 12px;
    padding: 30px 30px;
    max-width: 400px;
    margin: 50px auto 0;
    box-shadow: 0 6px 12px rgba(212,175,55,0.4);
}

.modal-content-view {
    background-color: #f9f9f9;
    border: 2px solid #D4AF37;
    border-radius: 12px;
    padding: 30px 30px;
    max-width: 800px;
    margin: 50px auto 0;
    box-shadow: 0 6px 12px rgba(212,175,55,0.4);
}

/*we use the same theme as login box */
.modal label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
}

.modal input[type="text"]{
    width: 95%;
    padding: 12px 5px;
    margin-bottom: 20px;
    border: 2px solid  #9F2241;/*#10312B;*//*#90B424;*/
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.modal input[type="text"]:focus{
    border-color: #9F2241;/*#00F5FF;*/
    outline: none;
    box-shadow: 0 0 8px rgba(159,34,65,0.7); /*rgba(0,245,255,0.7);*/
}

.modal input[type="text"]:user-invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal input[type="text"]:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}
.modal input[type="text"]:focus:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal textarea:user-invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal textarea:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}
.modal textarea:focus:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal input[type="date"]:user-invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal input[type="date"]:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}
.modal input[type="date"]:focus:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal select:user-invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.modal select:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}
.modal select:focus:invalid {
    border-color: red;
    outline: none;
    box-shadow: 0 0 8px rgba(159, 34, 65, 0.7);/*rgba(0,245,255,0.7)*/;
}

.readonly-select {
  pointer-events: none;
  background-color: #f5f5f5;
  opacity: 0.6;
}

.modal button {
    width: 100%;
    background: linear-gradient(45deg, #BCA986,  #691C32); /*linear-gradient(45deg, #D4AF37,  #90B424); */ /*#90B424;*/
    color: white;
    font-weight: 700;
    font-size: 1.2em;
    padding: 12px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 8px 12px #BCA986; /*#D4AF37;*/ /* 0 6px 12px rgba(57,255,20,0.6); */
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.modal button:hover {
    background: linear-gradient(45deg, #BCA986,  #AB9470); /*linear-gradient(45deg, #00F5FF,  #00F5FF);*/ /* #00F5FF;*/
    color: #white;
    box-shadow: 0 8px 16px rgba(188,169, 134,0.8); /*rgba(0,245,255,0.8);*/
}


/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 25px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* file upload */
/* Hide the real file input */
/*
input[type="file"] {
  opacity: 0;
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  overflow: hidden;
  z-index: -1;
}
*/
/* Style the label as a button */
/*
.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  background: linear-gradient(45deg, #D4AF37, #D4AF37);
  color: white;
  font-weight: bold;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.custom-file-upload:hover {
    background-color: #00F5FF;
    color: #fff;
    /*box-shadow: 0 8px 16px rgba(0,245,255,0.8);*
}


.file-name {
  margin-left: 15px;
  font-style: italic;
  color: #555;
}
*/

/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: #9F2241;/*DodgerBlue;*/
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Slider  */

.slidecontainer {
  width: 80%;
}

.slider {
  -webkit-appearance: none;
  width: 80%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background:  #90B424;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background:  #90B424;
  cursor: pointer;
}

/*Scroll box*/
.scroll-view {
    align-items: center;
    width: 390px;
    height: 310px;
    overflow: auto; /*scroll;*/ /*auto*/
    border: 0px solid red;
    padding: 5px;
    transform: translateX(-8px) translateY(-5px);
}

/* Text area */
textarea {
    width: 95%;
    padding: 12px 5px;
    margin-bottom: 20px;
    border: 2px solid #9F2241; /*#90B424; green*/
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    resize: none;
}

/* Date  */
input[type="date"] {
  background-color: #9F2241; /*#90B424;*/
  color: white;
  padding: 10px;
  border: 2px solid  #9F2241;/*#90B424;*/
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

/*Menu*/

  /* Dropdown container */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  /* Dropdown button */
  .dropbtn {
    background-color: #3498db;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  /* Dropdown content, hidden by default */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 260px;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
  }
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  /* Change color on hover */
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  /* Show the dropdown content when hovering over the dropdown container */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  /* Change button background on hover */
  .dropdown:hover .dropbtn {
    background-color: #2980b9;
  }

/* Botón llamativo */
.btn-cta {
    background-color:  #90B424; /* Verde neón */
    color: #000000;
    font-weight: bold;
    font-size: 1.0em;
    padding: 10px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(57,255,20,0.6);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    background-color: #00F5FF; /* Azul neón */
    color: #FFF;
    box-shadow: 0 8px 16px rgba(0,245,255,0.8);
}

.btn-cta2 {
    background-color:  #90B424; /* Verde neón */
    color: #000000;
    font-weight: normal;
    font-size: 0.6em;
    padding: 10px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(57,255,20,0.6);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta2:hover {
    background-color: #00F5FF; /* Azul neón */
    color: #FFF;
    box-shadow: 0 8px 16px rgba(0,245,255,0.8);
}

/**/

.btn-cta3 {
    background-color: white; /*#39FF14;*/ /* Verde neón */
    color:  #BCA986;/*#90B424;*/
    font-weight: normal;
    font-size: 0.6em;
    padding: 6px 10px;
    border: 2px solid #BCA986;/*#9F2241;*/ /*#90B424;*/ /*#D4AF37;*/
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    /*box-shadow: 0 6px 12px rgba(57,255,20,0.6);*/
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta3:hover {
    background-color: white; /* Azul neón */
    border: 2px solid #9F2241;/*#AB9470;*//*#00F5FF;*/
    color: #9F2241;/*#00F5FF;*/
    /*box-shadow: 0 8px 16px rgba(0,245,255,0.8);*/
}

/* error */
.error-text {
  color: #D8000C;       /* Bright red color */
  background-color: #FFD2D2; /* Light red/pink background */
  padding: 10px;
  border: 1px solid #D8000C;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  font-family: Arial, sans-serif;
  max-width: 400px;
  margin: 10px 0;
}

.error{
    color: #D8000C;
    font-weight: bold;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

/* Tabla sencilla y elegante */
/*
    width: 100%; 
    table-layout: auto;
*/


/*Alerts*/


.alert-box {
  padding: 8px;
  background-color: white;/*#f44336;*/
  color: black;
  opacity: 1;
  transition: opacity 0.6s;
  margin-bottom: 15px;
  border-radius:20px;
  border: 1.5px solid #f44336;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  line-height: 1.3;
}

.alert-box.success {/*background-color: #643173;*/ border: 1.5px solid #643173;
} /*04AA6D*/
.alert-box.info { /*background-color: #2196F3;*/ border: 1.5px solid #2196F3;}
.alert-box.warning { /*background-color: #ff9800;*/ border: 1.5px solid #ff9800;}

/* hr */
hr { 
    border: none; 
    height: 1px; 
    background-color: #BCA986 /*#D4AF37;*/ 
}

.table-container {
    width: 100%;          /* container takes full available width */
    overflow-x: auto;     /* horizontal scroll if table is too wide */
    padding: 10px;
    box-sizing: border-box;
    border: 0px solid #ccc; /* optional border */
    margin-bottom: 15px;
  }


/*Table new*/

table {
  border-collapse: separate;
  background:#fff;
  border-radius: 15px;
  margin: 10px auto;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
  border:0px solid none;
}

thead {
  border-radius: 15px;
  border:0px solid none;
}

thead th {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
  text-align: left;
  padding: 11px;
  /*background-image: linear-gradient(#646f7f, #4a5564);**/
  background: #BCA986;/*#D4AF37;*/
  border-top: 0px solid #858d99;
  white-space: nowrap;
  border:0px solid none;
  /* Border radius on first and last child handled below */
}

thead th:first-child {
  border-top-left-radius: 15px;
  border:0px solid none;
}

thead th:last-child {
  border-top-right-radius: 15px;
  border:0px solid none;
}

tbody tr td {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #5f6062;
  font-size: 13px;
  padding: 13px;
  border-bottom: 0px solid #e0e0e0;
  white-space: nowrap;
  border:0px solid none;
}

tbody tr:nth-child(2n) {
  background: #f0f3f5;
  border:0px solid none;
}

tbody tr:last-child td {
  border-bottom: none;
  border:0px solid none;
}

tbody tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
  border:0px solid none;
}

tbody tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
  border:0px solid none;
}

tbody:hover > tr td {
  background-color: white;
  opacity: 0.5;
  border:0px solid none;
  /* Uncomment for blur effect (optional)
  color: transparent;
  text-shadow: 0px 0px 2px rgba(0,0,0,0.8);
  */
}

tbody:hover > tr:hover td {
  text-shadow: none;
  color: #2d2d2d;
  opacity: 1.0;
  border:0px solid none;
}


/* 1. Hide the content by default */
.reveal-content {
  display: none;
  color: #2a9d8f;
  font-weight: bold;
}

.reveal-content2 {
  display: block;
  color: #2a9d8f;
  font-weight: bold;
}

/* 2. Only show it when the SPECIFIC td is hovered */
.hover-target:hover .reveal-content {
  display: block;
}

.hover-target2:hover .reveal-content2 {
  display: none;
}

/* Optional: Styling for clarity */
/*
td {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
}*/

.hover-target {
  background-color: #f8f9fa;
  cursor: pointer;
}

.hover-target2 {
  background-color: #f8f9fa;
  cursor: pointer;
}

/* Table  */

table.vTable{
    background-color: #D6EEEE;
    border:0px solid none;
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
    border-radius: 15px;
	margin: 10px auto;
	font-family: 'Open Sans', sans-serif;
    font-size: 10px;
}

table.vTable th{
  /*border:2px solid none;*/
  background-color: #D6EEEE; /*#D4AF37;*/
  /*border-collapse: collapse;*/
  border-bottom: 1.5px solid #D4AF37; /* oro ancestral */
  padding: 8px 8px;
  text-align: center; 
  text-shadow: 0px 0px 0px rgba(0,0,0,0.5);
  color: gray;
  white-space: nowrap;
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  border-radius: 15px;
  border:0px solid none;

}

table.vTable td{
    background-color: white;
    border:0px solid black;
    border-bottom: 1.5px solid #D4AF37; /* oro ancestral */
    padding: 10px 10px;
    text-align: left;
    white-space: nowrap;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
}

table.vTable tr:nth-child(even) {
  background-color: white;

}


/*/*/
/*
table{
    background-color: none;
    border:0px solid none;
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
}

th{
  border:1px solid #D4AF37;
  background-color: #D4AF37;
  border-collapse: collapse;
  border-bottom: 1.5px solid #D4AF37; /* oro ancestral *
  padding: 8px 8px;
  text-align: center;
  color: white;
  white-space: nowrap;

}

td{
    border:1px solid black;
    border-bottom: 1.5px solid #D4AF37; /* oro ancestral *
    padding: 10px 10px;
    text-align: left;
    white-space: nowrap;

}

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

tbody tr:hover {
    background-color: #D6E6E4; /*#D6EEEE;/*#88ff72; /*#39FF14;*/ /* verde neón *
    color: #000;
    cursor: default;
    transition: background-color 0.3s ease;
}
*/

/* Cirlce icon */
.icon-container {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
}

.circle-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white; /*#D4AF37;*/
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  /*color: white;
  font-size: 20px;
  margin-right: 10px;
  flex-shrink: 0;*/
}

.status-text {
  font-weight: bold;
}


/* Div side */
.data-row3 {
  display: flex;
  width: 90%;
  gap: 10px; /* Space between images */
  align-items: center;
  justify-content: center;
}

.data-row4 {
    background-color: red;
    padding: 10px;
    justify-content: left;
    width: 300px;
    word-spacing: 5px;
    transform: translateX(-100px) translateY(0px);

}


@media screen and (max-width: 500px) {
    .data-row3 div {
        width: 50%;
    }
}

.data-row2 {
  display: flex;
  gap: 10px; /* Space between images */
  align-items: center;
  justify-content: center;
  transform: translateX(0px) translateY(-10px);
}

.data-row {
  display: flex;
  gap: 10px; /* Space between images */
  align-items: center;
  justify-content: center;
}

.data-row ista {
  width: 50%; /* Each image takes half the container width */
  height: auto;
}


.circular-text {
  background-color: white;/*#D4AF37;*/  /* background color */
  border: 2px solid #BCA986;/*#D4AF37;*/
  color: #BCA986;/*#D4AF37;*/              /* text color */
  padding: 10px; /*16px;*/        /* some padding around the text */
  border-radius: 50%;       /* rounds the corners of the background */
  display: inline-block;     /* shrink wrapping the text */
  font-family: Arial, sans-serif;
  font-size: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);

}

.rounded-text {
  background-color: white;/*#D4AF37;*/  /* background color */
  border: 2px solid #BCA986;/*#D4AF37;*/
  color: #BCA986;/*#D4AF37;*/              /* text color */
  padding: 4px 8px;        /* some padding around the text */
  border-radius: 25px;       /* rounds the corners of the background */
  display: inline-block;     /* shrink wrapping the text */
  font-family: Arial, sans-serif;
  font-size: 12px;
  position: relative;
  top: -20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);

}

/* Header */
.header-line {
    display: flex;
    align-items: center; /* vertically center */
    justify-content: center;
    align-items: center;
    gap: 1rem; /* space between them */
    animation: slideInFromLeft 1.5s ease forwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.header-line h1 {
    font-size: 3rem;
    margin: 0;
}

.header-line h2 {
    font-size: 3rem;
    margin: 0.5;
    color: #f0f0f0;
    animation: slideInFromLeft 1.5s ease forwards, colorChange 5s linear infinite;

}

@keyframes colorChange {
    0% { color: #ffffff; }
    25% { color: #D4AF37; }
    50% { color:  #90B424; }
    75% { color: #00F5FF; }
    100% { color: #ffffff; }
}


/* buttons page */
.container-page {
    /*background-color: red;*/
    display: flex;/*inline-block;*//*flex;*/
    justify-content: right; /* Aligns items horizontally */
    align-items: center; /* Aligns items vertically */
    margin-right: 20px;
    width: 100%;
}

.pages{
    margin-right: 10px;
    margin-left: 10px;
}
/**/


.panel{
    /*display: flex; /*inline-block;*//*flex;*/
    /*justify-content: center; /*Aligns items horizontally */
    /*align-items: center;  /*Aligns items vertically */
    background-color: white; /*#39FF14;*/ /* Verde neón */
    /*color: #39FF14;*/
    font-weight: normal;
    font-size: 12px;/*1.1em;*/
    padding: 6px 10px;
    border: 1px solid  #10312B; /*#90B424;*/ /*#D4AF37;*/
    border-radius: 12px;
}

.subpanel{
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: gray;
}

.alertText{
    text-align: center; font-size: 1.2em; color: #235B4E; /*#90B424;*/
}

/*menus*/

.OPCs{
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   padding: 12px 16px;
}

.hidden {
  display: none !important;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0px;
    background-color: white; /*#00F5FF;*/ /* Azul neón */
    color: #FFFFFF;
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    line-height: 35px;
  /*z-index: 1000; *//* Ensure it stays on top */
}


