:root {
  /* Backgrounds */
  --color-background: #F7F6FD;
  --color-surface: #FFFFFF;
  --color-sidebar: #241C4D;
  --color-sidebar-dark: #1C1640;
  --color-navbar: #F1EFFC;

  /* Texto */
  --color-text-primary: #1F1636;
  --color-text-secondary: #6B6489;
  --color-text-light: #A79FCE;
  --color-text-white: #FFFFFF;
  --color-text-disabled: #dddddd;

  /* Brand/Primary Colors */
  --color-primary: #6959FB;
  --color-primary-dark: #372887;
  --color-primary-light: #8B7FFC;

  /* Secondary/Accent Colors */
  --color-accent: #6959FB;
  --color-accent-hover: #372887;
  --color-info: #8B7FFC;

  /* Borders */
  --color-border: #e3e3e3;
  --color-border-light: #f8f8f8;

  /* Grays */
  --color-gray-light: #dadada;
  --color-gray-medium: #ccc;
  --color-gray-dark: #999999;
  --color-gray-darker: #565656;

  /* Status/State Colors */
  --color-hover: rgba(0, 0, 0, 0.05);
  --color-shadow: rgba(0, 0, 0, 0.15);

  /* Scrollbar */
  --color-scrollbar-track: #dadada;
  --color-scrollbar-thumb: #372887;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Material Icons en el menú */
.nav-label .material-symbols-outlined,
.menu-title .material-symbols-outlined {
    margin-right: 8px;
    vertical-align: middle;
    font-size: 20px;
}

.bg-primary{
  background-color: var(--color-primary) !important;
}

.nav > li > a .material-symbols-outlined {
    margin-right: 10px;
    vertical-align: middle;
}

.navbar-minimalize .material-symbols-outlined {
    font-size: 20px;
    vertical-align: middle;
}

/* Material Icons en botones y enlaces de acciones */
.btt-icons .material-symbols-outlined,
a .material-symbols-outlined {
    font-size: 20px;
    vertical-align: middle;
}


  .instructor-card {
    background: #ffffff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
  }
  .instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  .instructor-card .card-body {
    padding: 2rem;
  }
  .instructor-avatar {
    margin-right: 1.5rem;
  }
  .instructor-avatar .rounded-circle {
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .instructor-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  .instructor-card .text-muted {
    color: var(--color-primary-dark) !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .instructor-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .instructor-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .instructor-card .material-symbols-outlined {
    color: #94a3b8;
    font-size: 18px;
  }
  .instructor-card .btn-outline-danger {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid #ef4444;
    color: #ef4444;
  }
  .instructor-card .btn-outline-danger:hover {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: scale(1.02);
  }
  .instructor-card .ms-4 {
    margin-left: 1.5rem !important;
  }
  .instructor-card .gap-4 {
    gap: 1.5rem !important;
  }
  .instructor-item {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
  }
  .instructor-item:hover {
    background-color: #f8f9fa;
  }
  .instructor-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
  }
  .instructor-checkbox {
    margin-right: 10px;
    margin-top: 5px;
    cursor: pointer;
    width: 18px;
    height: 18px;
  }
  .instructor-info {
    flex: 1;
  }
  .participante-item {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
  }
  .participante-item:hover {
    background-color: #f8f9fa;
  }
  .participante-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
  }
  .participante-checkbox {
    margin-right: 10px;
    margin-top: 5px;
    cursor: pointer;
    width: 18px;
    height: 18px;
  }
  .participante-info {
    flex: 1;
  }
  .seleccionado-item {
    padding: 8px 10px;
    margin-bottom: 8px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .seleccionado-item:hover {
    background-color: #e9ecef;
  }
  .btn-remove-selected {
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
  }
  .input-group-text {
    background-color: #fff;
    border-right: 0;
  }
  #search-participante {
    border-left: 0;
  }
  #search-participante:focus {
    border-color: #ced4da;
    box-shadow: none;
  }

.profile-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.profile-photo {
    border-radius: 16px;
    width: 320px;
    height: 320px;
    object-fit: cover;
    background: #f3f3f3;
}
.profile-badge {
    position: absolute;
    right: 20px;
    top: 20px;
    background: var(--color-primary-dark);
    color: #fff;
    border-radius: 12px;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.profile-main {
    flex: 1;
}
.profile-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.profile-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.profile-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}
.profile-stat {
    text-align: center;
}
.profile-stat-label {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.profile-stat-value {
    font-size: 1.6rem;
    font-weight: 600;
}
.contact-card {
    background: var(--color-primary-dark);
    color: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    min-width: 620px;
    margin-left: 2rem;
}
.contact-card h3 {
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.contact-info {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-info i {
    font-size: 1.2rem;
}
.send-message-btn {
    background: #fff;
    color: var(--color-primary-dark);
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.send-message-btn:hover {
    background: #e6e6e6;
}


.profile-card-participante {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.profile-photo-participante {
    border-radius: 16px;
    width: 120px;
    height: 120px;
    object-fit: cover;
    background: #f3f3f3;
    margin-bottom: 1rem;
}
.profile-badge-participante {
    display: inline-block;
    background: #EDEBFC;
    color: var(--color-primary-dark);
    border-radius: 12px;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}
.profile-main-participante {
    flex: 1;
}
.profile-title-participante {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.profile-subtitle-participante {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.profile-stats-participante {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.profile-stat-participante {
    text-align: center;
    background: #f7f7fa;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 120px;
}
.profile-stat-label-participante {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.profile-stat-value-participante {
    font-size: 1.4rem;
    font-weight: 600;
}
.info-card-participante {
    background: var(--color-primary-dark);
    color: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    min-width: 320px;
    width: 90%;
    margin-left: 2rem;
}
.info-card-participante h3 {
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.info-block-participante {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.info-block-participante i {
    font-size: 1.2rem;
}
.info-label-participante {
    color: #e3e1e1;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}
.info-value-participante {
    font-size: 1.1rem;
    font-weight: 600;
}
.input-personal-info {
    background: #f7f7fa;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #2d3a3a;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.btn .material-symbols-outlined {
    vertical-align: middle;
    margin-right: 4px;
}

.btn-circle .material-symbols-outlined {
    margin-right: 0;
}


.bootstrap-table .table > thead > tr > th {
  border-bottom: 1px solid var(--color-primary);
  vertical-align: bottom;
  border: 1px solid var(--color-primary-dark);
  background-color: var(--color-primary);
  color : var(--color-text-white);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    border-color: var(--color-sidebar-dark);
    background: var(--color-sidebar-dark);
    color: var(--color-text-white);
}

.nav-tabs .nav-link:not(.active):focus, .nav-tabs .nav-link:not(.active):hover{
    border-color: var(--color-sidebar-dark);
    background: var(--color-sidebar-dark);
    color: var(--color-text-white);
}

.navbar-static-top  {
  background: var(--color-navbar);
}

.navbar-default{
  background: var(--color-sidebar);
}

.nav.metismenu > li{
  background: var(--color-sidebar);
}
.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus{
  background-color: var(--color-sidebar-dark);
  color: var(--color-text-white);
}

ul.nav-second-level{
  background: var(--color-sidebar-dark);
}

.nav > li.active {
  background: var(--color-sidebar-dark);
}



.wizard > .content > .body ul {
    list-style: none !important;
}

/*******************************************************
* Responsive
*******************************************************/
h2 {
  font-size: calc(0.85em + 1.3vw);
}

.control-label{
  color: var(--color-text-primary);
  font-weight: 600;
}

.btn-zoom {
   padding:0.5%;
   font-weight:700;
   font-size:14px;
}

/*******************************************************
* Theme
*******************************************************/

.animation-zoom{
 animation: zoom-in-zoom-out 1s ease infinite;
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.5, 1.5);
  }
  100% {
    transform: scale(1, 1);
  }
}

body{
  text-transform: uppercase;
  font-size: 11px;
}

.alert-primary {
    background-color: var(--color-primary);
    border-color: transparent;
    border-left: 3px solid var(--color-primary-dark);
    color: var(--color-text-white);
}


.btn-primary{
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}


.btn-primary:hover, .btn-primary:focus, .btn-primary.focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: var(--color-text-white);
}


.my_scrollbar::-webkit-scrollbar {
  width: 8px;               /* width of the entire scrollbar */
}

.my_scrollbar::-webkit-scrollbar-track {
  background: var(--color-scrollbar-track);        /* color of the tracking area */
}

.my_scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--color-scrollbar-thumb);    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid var(--color-scrollbar-thumb);  /* creates padding around scroll thumb */
}


button.btn-primary.dim {
    box-shadow: inset 0 0 0 var(--color-primary-dark), 0 5px 0 0 var(--color-primary-dark), 0 10px 5px var(--color-gray-dark) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: var(--color-text-white);
}

.form-control:focus, .single-line:focus{
    border-color: var(--color-primary-dark) !important;
}

.form-control.is-valid, .was-validated .form-control:valid {
    border-color: var(--color-primary-dark) !important;
}

.form-control.is-valid:focus, .was-validated .form-control:valid:focus{
    border-color: var(--color-primary-dark) !important;
    box-shadow: 0 0 0 0.2rem rgba(105, 89, 251, 0.25);
}

.div-card:hover {
    box-shadow: 2px 2px 5px var(--color-gray-dark);
    cursor: pointer;
    cursor: hand;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray-medium);
  -webkit-transition: .2s;
  transition: .2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--color-surface);
  -webkit-transition: .2s;
  transition: .2s;
}

input:checked + .slider {
  background-color: var(--color-accent);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--color-accent);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



/*******************************************************
* DatePicker
*******************************************************/
  .datepicker table tr td.disabled,
  .datepicker table tr td.disabled:hover {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: var(--color-text-disabled);
    cursor: default;
  }

.dropdown-toggle::after {
    content: "";
    border: 0;
}


/*******************************************************
* Magic-Checkbox
*******************************************************/
  .magic-checkbox + label::before {
      border-radius: 0px;
  }
  .magic-checkbox + label::before, .magic-radio + label::before {
      height: 17px;
      width: 17px;
  }
  .magic-checkbox + label::after {
      left: 6px;
      top: 1px;
  }
  .magic-checkbox + label, .magic-radio + label {
      padding-left: 25px;
  }

  .magic-checkbox:checked + label::before {
      border-color: var(--color-primary) !important;
      background: var(--color-primary) !important;
  }


/*******************************************************
* bootstrapTable
*******************************************************/
  .btt-icons {
    text-align: center;
  }
  .btt-icons > a {
    margin: 0 5px;
  }
  .btt-icons i.fa,
  .btt-icons span.glyphicon,
  .btt-icons .fa {
    font-size: 1.3em;
    color: var(--color-info);
  }
  .btt-icons i.fa:hover,
  .btt-icons span.glyphicon:hover {
    color: var(--color-accent-hover);
  }

  .bootstrap-table .fixed-table-container {
    background: var(--color-surface) none repeat scroll 0 0;
  }
  .bootstrap-table .fixed-table-toolbar .bars{
    margin-top: 0;
    padding-top: 0;
  }
  .bootstrap-table .fixed-table-toolbar .bars .btn-group{
    display: block;
    margin-top: 5px;
  }

  .bootstrap-table .date_range {
    display: inline-block;
    float: right;
    margin-left: 10px;
    margin-top: 2px;
    top: 12px;
    width: 225px;
  }

  .btt-toolbar{
    float: left;
  }

  .btt-toolbar select{
    display: inline-block;
    max-width: 250px;
    min-width: 75px;
    width: auto;
  }

  .btt-toolbar .btn-group{
    display: inline-block !important;
    position: relative;
    top: -4px;
  }

  .btt-toolbar select {
      background-color: var(--color-surface);
      border: 1px solid var(--color-border);
      box-shadow: none;
      color: var(--color-gray-darker);
      display: inline-block;
      height: 35px;
      margin-top: -1px;
      max-width: 100%;
      padding: 7px 12px;
      transition: all 300ms linear 0s;
  }
  .bootstrap-table .dropdown-menu label{
    font-size: .8em;
  }

  .btt-toolbar .select2-container {
    display: inline-block;
    width: auto !important;
    max-width: 225px !important;
  }

  @media (max-width: 585px) {
    .btt-toolbar a.add{
      font-size: 0;
      padding-bottom: 10px;
      padding-top: 10px;
    }
    .btt-toolbar a.add::before {
      content: "\f067";
        font-size: 10px;
      font: normal normal normal 14px/1 FontAwesome;
      text-rendering: auto;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .btt-toolbar select {
      width: 100%;
      margin-top: 10px;
    }

    .bootstrap-table .columns-right,
    .bootstrap-table .search{
      margin-top: 0;
    }

    .pull-right.search {
        width: 45%;
    }
  }

  @media (max-width: 360px) {
    .pull-right.search {
        width: 150px;
    }
  }


/*******************************************************
* Tab Backgroud
*******************************************************/
  .tab-base .tab-content{
    background: none;
    border: 2px solid var(--color-border-light);
        border-top-color: var(--color-border-light);
        border-top-style: solid;
        border-top-width: 2px;
    border-top: 3px solid var(--color-surface);
  }


/*******************************************************
* table-nifty
*******************************************************/
  .table-nifty th{
    padding: 8px !important;
  }



/* .section SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.section {
  background: var(--color-primary);
  padding: 50px 0;
}

.section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section h1 {
  font-size: 2.5rem;
}

.section h2 {
  font-size: 1.3rem;
}



/* TIMELINE-horizontal
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline-horizontal {
  white-space: nowrap;
  overflow-x: hidden;
}

.timeline-horizontal ol {
  font-size: 0;
  width: 100vw;
  padding: 100px 0;
  transition: all 1s;
}

.timeline-horizontal ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: var(--color-primary);
}

.timeline-horizontal ol li:last-child {
  width: 150px;
}

.timeline-horizontal ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline-horizontal ol li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-primary);
}

.timeline-horizontal ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 150px;
  padding: 15px;
  font-size: 1rem;
  white-space: normal;
  color: #fff;
  background: var(--color-primary-dark);
}

.timeline-horizontal ol li div::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline-horizontal ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
}

.timeline-horizontal ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: var(--color-primary-dark) transparent transparent transparent;
}

.timeline-horizontal ol li:nth-child(even) div {
  top: calc(100% + 16px);
}

.timeline-horizontal ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent var(--color-primary-dark);
}

.timeline-horizontal time {
  display: block;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 8px;
}



/* TIMELINE-horizontal ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline-horizontal .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline-horizontal .arrows .arrow__prev {
  margin-right: 20px;
}

.timeline-horizontal .disabled {
  opacity: .5;
}

.timeline-horizontal .arrows img {
  width: 45px;
  height: 45px;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {
  .timeline-horizontal ol,
  .timeline-horizontal ol li {
    width: auto;
  }

  .timeline-horizontal ol {
    padding: 0;
    transform: none !important;
  }

  .timeline-horizontal ol li {
    display: block;
    height: auto;
    background: transparent;
  }

  .timeline-horizontal ol li:first-child {
    margin-top: 25px;
  }

  .timeline-horizontal ol li:not(:first-child) {
    margin-left: auto;
  }

  .timeline-horizontal ol li div {
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px;
  }

  .timeline-horizontal ol li div {
    position: static;
  }

  .timeline-horizontal ol li:nth-child(odd) div {
    transform: none;
  }

  .timeline-horizontal ol li:nth-child(odd) div::before,
  .timeline-horizontal ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 1px solid white;
    height: 25px;
  }

  .timeline-horizontal ol li:last-child,
  .timeline-horizontal ol li:nth-last-child(2) div::before,
  .timeline-horizontal ol li:not(:last-child)::after,
  .timeline-horizontal .arrows {
    display: none;
  }
}