/* ======== ESTILOS PARA REGISTRO ======== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Titillium+Web:wght@400;600&family=Montserrat:wght@600&family=Raleway:wght@300;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Story+Script&family=Epunda+Slab&family=Nunito+Sans&display=swap');

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  background: #05e2f2dc;
  background: linear-gradient(0deg, rgb(5, 226, 242) 0%, rgba(97, 32, 140, 1) 79%);
  background-size: cover;      
  background-position: center;   
  background-repeat: no-repeat;  
  background-attachment: fixed;  
  min-height: 100vh;           
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px; 
}
.main-content {
  flex: 1;                 
  display: flex;
  justify-content: center;   
  align-items: center;       
}

a {
    text-decoration: none; 
}

.form-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  max-width: 900px;
  width: 95%;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  font-family: "Nunito Sans", sans-serif;
}

.form-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-weight: bold;
  font-family: "Story Script", sans-serif;
  width: 100%;
  color: white;
}


.logo-cpfrq {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;                      
}

.logo-cpfrq img {
  max-width: 180px;
  height: auto;
}

.input-group .form-control,
.input-group .form-select,
.input-group .input-group-text {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px;
  font-size: 1rem;
  transition: 0.3s;
  font-family:"Nunito Sans", sans-serif;
}



.form-control::placeholder {
  color: #bbb;
}

.form-control:focus,
.form-select:focus {
  border-color: #0cdbff;
  box-shadow: 0 0 8px rgb(0, 204, 255);
  outline: none;
}

.input-group-text {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #000;
  font-weight: 200;
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(2); 
  cursor: pointer; 
}

.input-group .form-select {
  -webkit-appearance: none;  
  -moz-appearance: none;     
  appearance: none;          
  padding: 10px 40px 10px 10px; 
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 1rem;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white"><polygon points="0,0 16,0 8,8"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  transition: 0.3s;
}

.input-group .form-select option {
  background-color: rgb(142, 61, 196) ; 
  color: #fff;
}

/*  GRUPOS DE BOTONES*/
.custom-btn-group .btn,
.btn-violet,
.btn-yellow,
.btn-success,
.btn-pink,
.btn-danger
.btn-dark-gray {
    font-family: "Epunda Slab", serif;
    font-weight: bold;
}

.custom-btn-group {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.custom-btn-group .btn {
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
}

.btn-violet {
    color: #fff;
    background: #6a0dad; 
    background: linear-gradient(45deg, #6a0dad 0%, #9b59b6 100%);
    border: none;
}

.btn-violet:hover {
    color: #fff;
    background: #5a0ca0;
    background: linear-gradient(45deg, #5a0ca0 0%, #8e44ad 100%);
}

.btn-check:focus+.btn-violet,
.btn-violet:focus {
    color: #fff;
    background: #5a0ca0;
    background: linear-gradient(45deg, #5a0ca0 0%, #8e44ad 100%);
    box-shadow: 0 0 0 .2rem rgba(155, 89, 182, .3);
}

.btn-violet.dropdown-toggle.show,
.btn-check:checked+.btn-violet,
.btn-check:active+.btn-violet,
.btn-violet:active,
.btn-violet.active {
    color: #fff;
    background: #5a0ca0;
    background: linear-gradient(45deg, #5a0ca0 0%, #8e44ad 100%);
    box-shadow: 0 0 0 .2rem rgba(155, 89, 182, .3);
}

.btn-violet.dropdown-toggle.show:focus,
.btn-check:checked+.btn-violet:focus,
.btn-check:active+.btn-violet:focus,
.btn-violet:active:focus,
.btn-violet.active:focus {
    color: #fff;
    background: #5a0ca0;
    background: linear-gradient(45deg, #5a0ca0 0%, #8e44ad 100%);
    box-shadow: 0 0 0 .2rem rgba(155, 89, 182, .4);
}

.btn-violet:disabled,
.btn-violet.disabled,
fieldset:disabled .btn-violet {
    pointer-events: none;
    color: #fff;
    background: #5a0ca0;
    background: linear-gradient(45deg, #5a0ca0 0%, #8e44ad 100%);
}

.btn-yellow {
    color: #fff;
    background: #f1c40f; 
    background: linear-gradient(45deg, #f1c40f 0%, #f39c12 100%);
    border: none;
}

.btn-yellow:hover {
    color: #fff;
    background: #d4ac0d;
    background: linear-gradient(45deg, #d4ac0d 0%, #e67e22 100%);
}

.btn-check:focus+.btn-yellow,
.btn-yellow:focus {
    color: #fff;
    background: #d4ac0d;
    background: linear-gradient(45deg, #d4ac0d 0%, #e67e22 100%);
    box-shadow: 0 0 0 .2rem rgba(243, 156, 18, .3);
}

.btn-yellow.dropdown-toggle.show,
.btn-check:checked+.btn-yellow,
.btn-check:active+.btn-yellow,
.btn-yellow:active,
.btn-yellow.active {
    color: #fff;
    background: #d4ac0d;
    background: linear-gradient(45deg, #d4ac0d 0%, #e67e22 100%);
    box-shadow: 0 0 0 .2rem rgba(243, 156, 18, .3);
}

.btn-yellow.dropdown-toggle.show:focus,
.btn-check:checked+.btn-yellow:focus,
.btn-check:active+.btn-yellow:focus,
.btn-yellow:active:focus,
.btn-yellow.active:focus {
    color: #fff;
    background: #d4ac0d;
    background: linear-gradient(45deg, #d4ac0d 0%, #e67e22 100%);
    box-shadow: 0 0 0 .2rem rgba(243, 156, 18, .4);
}

.btn-yellow:disabled,
.btn-yellow.disabled,
fieldset:disabled .btn-yellow {
    pointer-events: none;
    color: #fff;
    background: #d4ac0d;
    background: linear-gradient(45deg, #d4ac0d 0%, #e67e22 100%);
}


/* ======== ESTILOS PARA AVISO DE PRIVACIDAD ======== */
.privacy-container {
  background: rgba(0, 0, 0, 0.50);
  color: #fff;
  padding: 30px;
  border-radius: 15px;
  max-width: 900px;
  width: 95%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.privacy-text {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 10px;
}

.privacy-container h1 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.privacy-container p {
  text-align: justify;
  margin-bottom: 15px;
}

#acceptBtn {
  margin-top: 20px;
  border-radius: 20px;
  font-weight: bold;
  transition: 0.3s;
}

#acceptBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#acceptBtn:not(:disabled) {
  background-image: linear-gradient(45deg, #3e005a 0%, #da8bff 100%);
  color: #fff;
  border: none;
}

#acceptBtn:not(:disabled):hover {
  background-image: linear-gradient(45deg, #3e005a 0%, #da8bff 100%);
}

 
/* ===== Sidebar ===== */
.sidebar-wrapper {
  width: 160px;
  padding: 0 0 20px 0;
  background: #1b1a1b;
  height: 100vh;
  border-radius: 10px;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transition: left 0.3s ease, width 0.3s ease;
}

.sidebar-brand {
  margin: 0;
}

.sidebar-brand .logo {
  padding: 2rem 1rem 1.5rem 1rem;
  min-height: 80px;
  display: flex;
  justify-content: center;
}

.sidebar-brand .logo img {
  max-width: 150px;
  max-height: 150px;
}

.sidebarMenuScroll {
  height: calc(100vh - 150px);
  overflow-y: auto;
  padding: 0 5px;
}

/* ===== Menú ===== */
.sidebar-menu {
  list-style: none;
  margin: 15px 5px;
  padding: 0;
}

.sidebar-menu > li {
  position: relative;
  margin: 2px 0;
}

.sidebar-menu > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 7px;
  color: #979697;
  border-radius: 4px;
  font-size: 0.925rem;
  text-align: center;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
  position: relative; 
}

.sidebar-menu > li > a > i:first-child {
  margin-bottom: 7px;
  font-size: 1.4rem;
  background-color: #fff;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}

.sidebar-menu > li > a .menu-text {
  line-height: 1.2;
}

.sidebar-menu > li.treeview > a .bi {
  position: absolute;
  right: 8px; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.sidebar-menu > li.treeview.active > a .bi {
  transform: translateY(-50%) rotate(90deg);
  color: #fff; 
}

.sidebar-menu > li:hover > a {
  color: #cdcdcd;
  background: #2c2a2c;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li.current-page > a {
  color: #fff;
  background: #2b2a2b;
}

/* ===== Submenú ===== */
.treeview-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  text-align: center;
}

li.active > .treeview-menu {
  display: block;
}

.treeview-menu > li > a {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  color: #979697;
  border-radius: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

.treeview-menu > li > a > i:first-child {
  margin-bottom: 5px;
  font-size: 1.1rem;
  background-color: #fff;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}


.treeview-menu > li > a:hover,
.treeview-menu > li > a.active-sub {
  color: #fff;
  background: #2b2a2b;
}


.gradient-orange { background: linear-gradient(45deg, #d4552d 0%, #ff8e67 100%); }
.gradient-blue   { background: linear-gradient(45deg, #0066e0 0%, #00d0ff 100%); }
.gradient-green  { background: linear-gradient(45deg, #49914e 0%, #b2d553 100%); }
.gradient-violet { background: linear-gradient(45deg, #374bc3 0%, #8695e8 100%); }
.gradient-red    { background: linear-gradient(45deg, #d63939 0%, #ff857b 100%); }
.gradient-yellow { background: linear-gradient(45deg, #e78000 0%, #ffd26a 100%); }


.menu-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  background: #1b1a1b;
  color: #fff;
  border: none;
  padding: 10px 12px;
  font-size: 1.2rem;
  border-radius: 5px;
  z-index: 1000;
  display: none;
}

@media screen and (max-width: 1199.98px) {
  .sidebar-wrapper {
    left: -180px;
  }

  .sidebar-wrapper.show {
    left: 10px;
  }

  .menu-toggle {
    display: block;
  }
}


/* ===== BUSCADOR ===== */
.search-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; 
  align-items: center;
  gap: 15px; 
  width: 100%;
}

.search-container .input-group {
  flex-grow: 1;
  max-width: 500px; 
  position: relative;
  width: 100%;
}

.search-container .input-group .form-control {
  width: 100%;
  background: #fff !important; 
  border: 1.5px solid #B09BDD !important; 
  border-radius: 8px !important;
  padding-left: 40px !important;
  color: #333 !important;
}


.search-container .input-group .form-control:focus {
  outline: none !important;
  border-color: #7F55F2; 
  box-shadow: 0 0 8px rgba(127, 85, 242, 0.4); 
}

.search-container .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #7F55F2; 
  font-size: 1.4rem;
}

.search-container .add-users {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0; 
}

.search-container .add-users i {
  font-size: 3rem; 
  color: white;
  transition: transform 0.3s, color 0.3s;
}

.search-container .add-users:hover i {
  transform: scale(1.2); 
  color: #B09BDD; 
}

@media (max-width: 575.98px) {
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container .add-users {
    margin-top: 10px;
    align-self: flex-end;
  }
}

@media (min-width: 576px) {
  .container-usuarios .search-container {
    margin-top: -10px; 
  }
}


/* ===== ADMINISTRACION DE USUARIOS ===== */
.container-usuarios {
  padding: 30px;
  max-width: 900px;
  width: 95%;
  color: white;
  margin: auto;
  
}

.container-usuarios .table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #fff;
  background-color: rgba(32, 32, 32, 0.342);
  border-radius: 6px;
}

.container-usuarios .table thead th {
  background-color:rgba(88, 0, 66, 0.959);
  color: white;
  padding: 12px;
  font-weight: bold;
}

.container-usuarios .table tbody tr {
  border-bottom: 1px solid rgba(53, 53, 53, 0.274);
  transition: background 0.3s, transform 0.2s;
}

.container-usuarios .table tbody tr:hover {
  background-color: rgba(51, 51, 51, 0.185);
  transform: scale(1.01);
}

.container-usuarios .table td {
  padding: 12px;
  color: #eee;
  vertical-align: middle;
  background-color: rgba(127, 85, 242, 0.1);
}

.container-usuarios .table td a {
  margin: 0 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.container-usuarios .table td a .icon-border_color {
  color: #FFC107;
  font-size: 1.4rem;
}

.container-usuarios .table td a .icon-delete_forever {
  color: #F44336;
  font-size: 1.4rem;
}

.container-usuarios .table td a:hover {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.2);
}

.container-usuarios .text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .container-usuarios .table thead {
    display: none;
  }

  .container-usuarios .table,
  .container-usuarios .table tbody,
  .container-usuarios .table tr,
  .container-usuarios .table td {
    display: block;
    width: 100%;
  }

  .container-usuarios .table tr {
    margin-bottom: 15px;
    background-color: rgba(28, 28, 28, 0.6);
    border-radius: 8px;
    padding: 10px;
  }

  .container-usuarios .table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
  }

  .container-usuarios .table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 12px;
    font-weight: bold;
    color: #B09BDD;
    text-transform: uppercase;
    font-size: 12px;
  }

  .container-usuarios .table td a {
    margin: 5px 5px 0 0;
  }

  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container .add-users {
    margin-top: 10px;
    align-self: flex-end;
  }
}


.btn-success {
    color: #fff;
    background: #028073;
    background: linear-gradient(45deg, #028073 0%, #98c452 100%)
}

.btn-success:hover {
    color: #fff;
    background: #006b60;
    background: linear-gradient(45deg, #006b60 0%, #96c252 100%)
}

.btn-check:focus+.btn-success,
.btn-success:focus {
    color: #fff;
    background: #006b60;
    background: linear-gradient(45deg, #006b60 0%, #96c252 100%);
    box-shadow: 0 0 0 .2rem rgba(36, 125, 93, .003)
}

.btn-success.dropdown-toggle.show,
.btn-check:checked+.btn-success,
.btn-check:active+.btn-success,
.btn-success:active,
.btn-success.active {
    color: #fff;
    background: #006b60;
    background: linear-gradient(45deg, #006b60 0%, #96c252 100%);
    box-shadow: 0 0 0 .2rem rgba(36, 125, 93, .003)
}

.btn-success.dropdown-toggle.show:focus,
.btn-check:checked+.btn-success:focus,
.btn-check:active+.btn-success:focus,
.btn-success:active:focus,
.btn-success.active:focus {
    color: #fff;
    background: #006b60;
    background: linear-gradient(45deg, #006b60 0%, #96c252 100%);
    box-shadow: 0 0 0 .2rem rgba(36, 125, 93, .004)
}

.btn-success:disabled,
.btn-success.disabled,
fieldset:disabled .btn-success {
    pointer-events: none;
    color: #fff;
    background: #006b60;
    background: linear-gradient(45deg, #006b60 0%, #96c252 100%)
}

.btn-danger {
    color: #fff;
    background: #c90202; /* rojo inicial */
    background: linear-gradient(45deg, #c90202 0%, #f05252 100%);
}

.btn-danger:hover {
    color: #fff;
    background: #a60000; /* rojo más oscuro al pasar el mouse */
    background: linear-gradient(45deg, #a60000 0%, #f06565 100%);
}

.btn-check:focus + .btn-danger,
.btn-danger:focus {
    color: #fff;
    background: #a60000;
    background: linear-gradient(45deg, #a60000 0%, #f06565 100%);
    box-shadow: 0 0 0 .2rem rgba(193, 2, 2, .3);
}

.btn-danger.dropdown-toggle.show,
.btn-check:checked + .btn-danger,
.btn-check:active + .btn-danger,
.btn-danger:active,
.btn-danger.active {
    color: #fff;
    background: #a60000;
    background: linear-gradient(45deg, #a60000 0%, #f06565 100%);
    box-shadow: 0 0 0 .2rem rgba(193, 2, 2, .3);
}

.btn-danger.dropdown-toggle.show:focus,
.btn-check:checked + .btn-danger:focus,
.btn-check:active + .btn-danger:focus,
.btn-danger:active:focus,
.btn-danger.active:focus {
    color: #fff;
    background: #a60000;
    background: linear-gradient(45deg, #a60000 0%, #f06565 100%);
    box-shadow: 0 0 0 .2rem rgba(193, 2, 2, .4);
}

.btn-danger:disabled,
.btn-danger.disabled,
fieldset:disabled .btn-danger {
    pointer-events: none;
    color: #fff;
    background: #a60000;
    background: linear-gradient(45deg, #a60000 0%, #f06565 100%);
}


.btn-pink {
    color: white;
    background: #ffffff; 
    background: linear-gradient(45deg, #e298ff 0%, #70004b 100%);
    border: 2px solid ;
    border-radius: 30px; 
    padding: 8px 18px; 
    font-family: "Nunito Sans", sans-serif;
    transition: all 0.3s ease-in-out;
}

.btn-pink:hover {
    color: #fff;
    background: #f8bbd1;
    background: linear-gradient(45deg, #e298ff 0%, #70004b 100%);
    border-color: #e91e63; 
}

.btn-check:focus+.btn-pink,
.btn-pink:focus {
    color: #fff;
    background: #f8bbd1;
   background: linear-gradient(45deg, #e298ff 0%, #70004b 100%);
    border-color: #e91e63;
    box-shadow: 0 0 0 .25rem rgba(233, 30, 99, 0.4);
}

.btn-pink.dropdown-toggle.show,
.btn-check:checked+.btn-pink,
.btn-check:active+.btn-pink,
.btn-pink:active,
.btn-pink.active {
    color: #fff;
    background: #ec407a;
    background: #70004b;
    border-color: #e91e63; 
    box-shadow: 0 0 0 .25rem rgba(233, 30, 99, 0.4);
}
.btn-pink.dropdown-toggle.show:focus,
.btn-check:checked+.btn-pink:focus,
.btn-check:active+.btn-pink:focus,
.btn-pink:active:focus,
.btn-pink.active:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 .25rem rgba(233, 30, 99, 0.5);
}

.btn-pink:disabled,
.btn-pink.disabled,
fieldset:disabled .btn-pink {
    pointer-events: none;
    color: #fff;
    background: #ffffff;
    background: linear-gradient(45deg, #e298ff 0%, #70004b 100%);
    border-color: transparent;
}


.btn-dark-gray {
    color: rgb(255, 251, 251);
    background: #70004b; 
    padding: 8px 18px; 
    transition: all 0.3s ease-in-out;
     font-family: "Nunito Sans", sans-serif;
     font-weight: bold;
}

.btn-dark-gray:hover {
    background-color: #70004b; 
    border-color: #f5f3f4; 
}

.btn-dark-gray.dropdown-toggle.show,
.btn-check:checked + .btn-dark-gray,
.btn-check:active + .btn-dark-gray,
.btn-dark-gray:active,
.btn-dark-gray.active {
    color: #fff;
    background: #70004b; 
    background: linear-gradient(45deg, #70004b 0%, #d81b60 100%);
    border-color: #70004b; 
    box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.4);
}

.btn-dark-gray.dropdown-toggle.show:focus,
.btn-check:checked + .btn-dark-gray:focus,
.btn-check:active + .btn-dark-gray:focus,
.btn-dark-gray:active:focus,
.btn-dark-gray.active:focus {
    border-color: #70004b;
    box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.5);
}



/*EVALUACIONES*/
.evaluaciones-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; 
  padding: 15px;
  
}

.evaluaciones-page .form-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;      
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;    
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
}

.evaluaciones-page  {
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Merriweather', serif;
}

.evaluaciones-page .custom-btn-group {
  padding: 15px;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  text-align: center; 
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.evaluaciones-page .btn-pink {
  flex: 1 1 auto;
  min-width: 140px;
}

.evaluaciones-page #content-area {
  flex: 1; 
  overflow-y: auto;
  margin-top: 20px;
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 20px;
}

.form-subtitle {
    font-family: "Epunda Slab", serif;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left; 
    color: white;
    margin-bottom: 20px;
    }
    

    /*Lista de preguntas creadas*/
    
.list-group {
    background-color: transparent; 
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
    color: #fff;
}

.list-group-item {
    background-color: rgba(96, 10, 107, 0.432);
    border: none;
    margin-bottom: 0.5rem;
    color: #eee;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(53, 53, 53, 0.274);
    transition: background 0.3s, transform 0.2s;
}
.list-group-item:hover {
    background-color: rgba(51, 51, 51, 0.185);
    transform: scale(1.01);
}
.list-group-item input.form-control {
    background-color: rgba(182, 84, 228, 0.459); /* igual que las celdas */
    border: 1px solid #555;
    color: #fff;
    transition: all 0.3s ease;
}

.list-group-item input.form-control[readonly] {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid #444;
}

.list-group-item a {
    margin: 0 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.list-group-item a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}



/* ===== ICONOS DE EDITAR Y ELIMINAR EN LISTA DE PREGUNTAS ===== */
.container .list-group-item .btn-save i {
  color: #4b8812;       
  font-size: 1.4rem;
}

.container .list-group-item .btn-delete i {
  color: #F44336;       
  font-size: 1.4rem;
}

.container .list-group-item .btn-save,
.container .list-group-item .btn-delete {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

.container .list-group-item .btn-save:hover,
.container .list-group-item .btn-delete:hover {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Modal único de alertas */
.custom-alert-modal {
  background: linear-gradient(135deg, #8e2de2, #ff6ec7);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  font-family: 'Epunda Slab', serif;
}

.custom-alert-modal h5 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.custom-alert-modal p {
  font-size: 1rem;
  opacity: 0.9;
}

.btn-alert {
  background: #fff;
  color: #8e2de2;
  font-weight: bold;
  border-radius: 50px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.btn-alert:hover {
  background: #8e2de2;
  color: #fff;
}

#alertModalIcon i {
  font-size: 3rem;
  color: #fff;
}

   /* ===============================
  Barra de navegación
=============================== */
.navbar-custom {
  position: fixed;      
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;        
  
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);                
  box-shadow: 0 4px 15px rgba(128, 1, 133, 0.4);
  padding: 0.5rem 1rem;
  margin-bottom: 20px;
  border-radius: 16px;   
  transition: top 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-brand img {
  max-height: 80px;
}

.nav-link {
  font-weight: 500;
  font-size: 16px;
  color: white;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #6f42c1;
  transform: translateY(-2px);
}

.nav-link.active {
  color: #6f42c1;
  font-weight: 600;
}

.container-fixed {
  max-width: 800px;
  width: 95%;
  margin: 0 auto;
}

/* ===============================
  Página de preguntas
=============================== */
.questions-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 15px;
   padding-top: 120px; 
}

.questions-page .form-container-questions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.questions-page .custom-btn-group-questions {
  padding: 15px;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.questions-page .custom-btn-group-questions p{
  margin: 0;
  font-size: 12px;
  color: #0e0d0d;
  font-family:"Nunito Sans", sans-serif ;
  font-weight: 0px;
}



@media (max-width: 576px) {
  .questions-page .form-container-questions {
    padding: 15px;
  }
  .questions-page .custom-btn-group-questions {
    padding: 10px;
  }
}


 /* FOOTER */
footer a {
  color: white;
  transition: color 0.3s;
}

footer a:hover {
  color: #10f0f8;
  text-decoration: none;
}

.social-icons {
  display: flex;
  align-items: center; 
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-icons li a,
.social-icons li.logo-item img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons li a {
  width: 35px;
  height: 35px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.social-icons li a:hover {
  background-color: #555;
  transform: scale(1.2);
}

.social-icons li.logo-item img {
  height: 30px; 
  width: auto;
}


@media (min-width: 768px) {
  .footer-left {
    text-align: left;
  }
  .footer-right {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .footer-left,
  .footer-right {
    text-align: center;
    margin-bottom: 1rem;
  }
}

.form-title-socios{
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-80%);
  font-size: 1.5rem;
  color: white;
  font-family:"Story Script", sans-serif;
}

