@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
    --font-primary: "Karla", sans-serif;
    --font-secondary: "Lato", sans-serif;
    --font-primary-color: #383838;
    --font-secondary-color: #666;
    --font-strong-color: #383838;
    --primary: var(--font-primary-color);
    --danger: #ff4136;
    --warning: #fa9f27;
    --disabled: #444278;
    --background-disabled:rgb(233, 236, 239);
    --background-border-color: #dee2e6;
    --background-color: #e7e7e7;
    --error : var(--danger);
    --btn-background-color:    #3C3C50;
    --body-background-color: #F6F8FA;
    --background-wrapper-color:  #fFfFff;
    --info-color: #626168;
    --module-background-color:#F9FaFd;
    --incomplete: rgb(248, 234, 141);
    --passed: rgb(69, 241, 39);
    --completed: #beefac;
    --failed: rgb(241, 53, 39);
    --not-attempted: rgb(220, 220, 221);
    --spacer: 10px;
    --btn-font-color: #F6F8FA;
    --btn-font-hover-color: var(--font-primary-color);
    --btn-background-color: var(--font-primary-color);
    --btn-background-hover-color:  #F6F8FA;
    --btn-border-color: var(--font-primary-color);
    --btn-border-hover-color: var(--font-primary-color);
}

body {
    background-color: var(--body-background-color);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Ensure full viewport height */
    margin: 0; /* Remove default body margins */
    font-family: var(--font-secondary);
}

.lato-thin {
  font-family: var(--font-secondary);
  font-weight: 100;
  font-style: normal; 
}

.lato-light {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-style: normal; }

.lato-regular {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-style: normal; }

.lato-bold {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-style: normal; }

.lato-black {
  font-family: var(--font-secondary);
  font-weight: 900;
  font-style: normal; }

.lato-thin-italic {
  font-family: var(--font-secondary);
  font-weight: 100;
  font-style: italic; }

.lato-light-italic {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-style: italic; }

.lato-regular-italic {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-style: italic; }

.lato-bold-italic {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-style: italic; }

.lato-black-italic {
  font-family: var(--font-secondary);
  font-weight: 900;
  font-style: italic; }

h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 4vh;
}

/* Profile dropdown styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--btn-background-color);
    color: var(--btn-font-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    background: var(--btn-background-hover-color);
    color: var(--btn-font-hover-color);
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 160px;
    background: white;
    border: 1px solid var(--background-border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.profile-dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--font-primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.profile-dropdown a:hover {
    background-color: #f8f9fa;
}

.profile-dropdown hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid var(--background-border-color);
}

.profile-dropdown.hidden {
    display: none;
}

h2 {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 3.5vh;
  font-style: normal;
}

h3 {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 3.25vh;
}

h4 {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 3vh;
}

h5 {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 2.5vh;
}

h1 {
  color: var(--font-primary-color);
}
h2, h3, h4, h5 {
  color: var(--font-secondary-color);
}

section {
  position: relative;
}

.edit-action {
  color: inherit;
  color: var(--bs-warning);
}

.change-password-action {
    color: inherit;
    color: var(--bs-info);
}

.delete-action {
    color: inherit;
    color: var(--bs-danger);
}
.beone-services {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}
.beone-services main,
.beone-services header {
  width: 100%;
  padding: 20px;
  background-color: var(--background-wrapper-color);
  border-radius: 8px;
}
.beone-services .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--module-background-color);
  box-sizing: border-box;
  width: 100%;
}

.beone-services header .logo img {
  max-height: 150px;
  width: auto;
  height: 150px;
}

.beone-services header nav {
  display: flex;
  gap: 20px;
}

.beone-services h1 {
  font-family: var(--font-primary);
  text-transform: uppercase;
}

.beone-services a {
  color: var(--font-primary-color);
}

.beone-services p {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  font-family: var(--font-primary);
}

.beone-services input {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  border: 0.8px solid #D1D2D4;
  padding-left: 4px;
  border-radius: 6px;
  line-height: 44px;
  height: 44px;
  width: auto;
  vertical-align: middle;
  outline: none;
}

.beone-services input:hover {
    border: 0.8px solid #b1b2b4;
    box-shadow: none;
    outline: none;
}

.beone-services input:checked,
.beone-services input:active,
.beone-services input:focus {
  box-shadow: none;
  outline: none;
  border: 0.8px solid #b1b2b4;
}

.beone-services input[type=checkbox] {
  border: 0.8px solid #D1D2D4;
  width: 20px;
  height: 20px;
}

.beone-services input[type=checkbox]:focus {
  box-shadow: none;
}

.beone-services input[type=submit] {
  background-color: var(--font-primary-color);
  color: white;
}

.beone-services [type="text"],
.beone-services input[type="password"],
.beone-services select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    padding-left: 4px;
    line-height: 44px;
    height: 44px;
    vertical-align: middle;
    outline: none;
    background-color: var(--background-wrapper-color);
}

.beone-services select:hover {
    border: 1px solid #b1b2b4;
}

.beone-services select:focus {
    border: 1px solid #b1b2b4;
    box-shadow: none;
    outline: none;
}

.beone-services input[type="file"] {
  padding: 10px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  padding: 4px;
  box-sizing: border-box;
}

.beone-services .file-upload-container {
    display: flex;
    align-items: center;
}

.beone-services .file-upload-button {
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.beone-services .file-upload-button:hover {
    background-color: #4cae4c;
}

.beone-services .file-name {
    font-size: 16px;
}

.beone-services input:read-only,
.beone-services input:disabled {
  background-color: var(--background-disabled);
  border-color: var(--background-border-color);
}

.beone-services button:disabled {
  color: var(--disabled);
}



.beone-services input[type=text].search {
    background-image: url(assets/icons/icon--search.png);
}

.beone-services .form {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 12px;
  max-width: 448px;
  margin: auto;
}

.beone-services form button[type=submit]  {
  width: auto;
  border: 2px solid var(--font-primary-color);;
  color: white;
  background-color: var(--font-primary-color);;
  font-family: var(--font-primary);
}

.beone-services .form input[type=submit] {
  width: 100%;
  padding: 9px 18px;
  gap: 4px;
  border-radius: 22px 0 0 0;
  opacity: 0;
  margin-top: 38px;
  border-color: var(--background-color);
}

.beone-services .form.form--popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.beone-services .form__header h1 {
  font-size: 32px;
  line-height: 26px;
}

.beone-services .form-check {
  position: relative;
}

.beone-services .form-group {
  min-height: 44px;
  margin-top: 9px;
  position: relative;
}

.beone-services .form-group__label {
  font-size: 10px;
  line-height: 11.69px;
}

.beone-services .form-group {
  margin-bottom: 16px;
}

.beone-services #editUserForm div {
  text-align: left;
}

/* Assuming button-variant mixin generates these properties */
.beone-services .btn-primary {

  background-color: var(--font-primary-color);
  color: white;
  border-color: var(--font-primary-color);
}

.beone-services .btn-primary:hover {

  color: var(--font-primary-color);
  background-color: white;
  border-color: var(--font-primary-color);;
}

.beone-services .btn-primary:focus, .beone-services .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
}

.beone-services .btn-primary:active, .beone-services .btn-primary.active,
.beone-services .show > .beone-services .btn-primary.dropdown-toggle {
  color: purple;
  background-color: var(--font-primary-color);;
  border-color: var(--font-primary-color);;
}

.beone-services .btn-primary:active:focus, .beone-services .btn-primary.active:focus,
.beone-services .show > .beone-services .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
}

.beone-services .btn {
  height: 44px;
  padding: 9px 18px;
  gap: 4px;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.beone-services .btn-primary:hover {

  background-color: var(--btn-background-hover-color);
  color: var(--btn-font-hover-color);
}

.beone-services .btn-secondary:hover {

    background-color: var(--btn-background-hover-color);
    color: var(--btn-font-hover-color);
}

.beone-services .userTable  {
  text-align: left;
}

.beone-services .active-user tr,
.beone-services .active-user td {
    background-color: rgba(216, 244, 216, 0.2); /* Light green */
}

.beone-services .inactive-user tr,
.beone-services .inactive-user td {
    background-color: rgba(233, 233, 233, 0.7); 
    color: rgba(183, 183, 183, 0.9);
    font-style: italic;
}

.beone-services table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 60vw
}

.beone-services table, 
.beone-services th, 
.beone-services td { 
  border: 1px solid #ccc; 
}
.beone-services th, 
.beone-services td { 
  padding: 10px; 
}

.beone-services table tr:nth-child(even),
.beone-services table thead tr:nth-child(odd) {
    background-color: var(--background-color);
}

.beone-services table thead tr {
    margin-bottom: 13px;
    box-shadow: none;
}

.beone-services table thead tr th {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--info-color);
}

.beone-services table thead tr th span {
    float: none;
}

.beone-services table thead tr th span:first-of-type {
    margin-left: 4px;
}

.beone-services table  tbody tr {
    box-shadow: 0px -1px 0px 0px #0000001A inset;
}

.beone-services table tbody tr td {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-style: normal;
    height: 44px;
}

.beone-services table tbody tr td:first-of-type {
    width: 20px;
    text-align: center;
}
.beone-services table .actions {
    text-align: center;
}

.beone-services table .id {
    width: 25px;
    
    text-align: center;
}
.beone-services table .email {
   min-width: 33%;
}

.beone-services .pagination {
    display: flex;
    align-items: center;
}

.beone-services .pagination > button {
    box-sizing: border-box;
    border: none;
    min-width: 32px;
    height: 32px;
    background: none;
}

.beone-services .pagination > button:not(.btn-active):not([disabled]):hover {

    background: #3C3C50;
    border-radius : 4px;
    border: 0.8px solid #F0F2FF
}

.beone-services .pagination > button[data-id] {
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    border-radius : 4px;
    color: #646478;
    border: 0.8px solid #F0F2FF;
}

.beone-services .pagination > button.btn-active {
    color: white;
    background: var(--btn-background-color);
    border: 0.8px solid var(--btn-background-color);
}

#wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the start of the container */
    align-items: flex-start;
    width: 90vw;
    text-align: left; /* Align the content to the left */
    background: var(--background-wrapper-color);
    padding: 40px 38px 32px 30px;
    position: relative;
}

.beone-services .container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.beone-services .container h1,
.beone-services .container h2,
.beone-services .container h3,
.beone-services .container h4,
.beone-services .container h5 {
  text-align: left;
}

.beone-services .container .lms-home__menu {
  padding: var(--spacer);
  display: flex;
  gap: var(--spacer);
  justify-content: center;
  align-items: center;
}


.beone-services.login {
  background-image: url(/assets/backgrounds/background-login.jpg);
}

.beone-services.login .container {

  min-width: 440px;
}

.beone-services.menu .container h1 {
  text-align: center;
}

.beone-services .container #teamInfo span{

   font-size: 2.5vh;
}

strong {
  color: var(--font-strong-color);
}

label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    font-size: var(--font-primary);
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}

button:hover {
    background-color: #4cae4c;
}
button.danger {
  background-color: var(--danger);
}
button.warning {
  background-color: var(--warning);
}

#message {
    margin-top: 15px;
}

#message alert-warning {
  color: var(--danger);
}

.beone-services .breadcrumb {
  font-family: var(--font-primary);
  font-size: 14px;
  margin-bottom: 10px;
}

.beone-services .breadcrumb a {
  
  color: var(--info-color);
  margin-right: 10px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none; /* Eliminar el subrayado predeterminado */
}

.beone-services .breadcrumb a:hover {
  text-decoration: underline; /* Subrayar al pasar el mouse */
}

.beone-services .breadcrumb #profileLink {
  margin-left: auto;
}

.beone-services .module-hidden {
    display: none;
}

.beone-services .module-card {
  transition: transform 0.3s ease-in-out;
}

.beone-services .module-card:hover {
  transform: scale(1.05);
}

.beone-services .module-hidden {
  display: none;
}

.beone-services .breadcrumb {
  font-family: var(--font-primary);
  font-size: 14px;
  margin-bottom: 10px;
}


.beone-services .modules .row:nth-child(2n+1){
  background-color: var(--module-background-color);
}

.beone-services .modules h4{
  text-transform: uppercase;
  color: var(--font-primary-color);
}

.beone-services .modules .moduleitem {
  margin: 0;
  padding-bottom: calc(2 * var(--spacer));
  border-bottom: 2px solid var(--btn-background-color);
  cursor: pointer;
  overflow: hidden;
}

.beone-services .modules .moduleitem:hover h4{
  color: var(--font-primary-color);;
} 

.beone-services .modules .moduleitem:hover .btn {
  background-color: white;
  color: var(--font-primary-color);;
} 

.beone-services .modules .moduleitem--description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: calc( 2 * var(--spacer));
  padding-bottom: 0;

}

.beone-services .modules .moduleitem--description p{

  color: var(--font-secondary-color);
  font-size: 14px;
  text-align: left;
}

.beone-services .modules .moduleitem--description .btn {
  margin-top: auto;
}

.beone-services .modules .moduleitem--visual {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.beone-services .modules .moduleitem--visual img {
  transition: transform 0.3s ease;
}

.beone-services .modules .moduleitem:hover .moduleitem--visual img {
  transform: scale(1.05);
}

.beone-services .modules .moduleitem--visual .module-progress {
    position: absolute;
    top: calc( 2 * var(--spacer));
    left: calc( 2 * var(--spacer));
    background-color:var(--background-color);
    color: var(--font-primary-color);
    padding: var(--spacer);
    border-radius: 4px;
    border: 1px solid var(--font-primary-color);
    font-size: 12px;
    font-weight: 700;
}

.beone-services .status-completed,
.beone-services .modules .moduleitem--visual .module-progress.status-passed,
.beone-services .modules .moduleitem--visual .module-progress.status-completed {
  background-color:var(--completed);
  color: var(--font-primary-color);;
  text-transform: capitalize;
}

.beone-services .modules .moduleitem--visual .module-progress.status-incomplete {
  background-color:var(--incomplete);
  color: var(--font-primary-color);;
  text-transform: capitalize;
}

.beone-services .modules .moduleitem--visual .module-progress.status-no-progress,
.beone-services .modules .moduleitem--visual .module-progress.status-not-started {
  background-color:var(--background-color);
  color: var(--font-secondary-color);
  text-transform: capitalize;
}


.beone-services .modules .moduleitem--visual.order-last .module-progress {
  
  left: initial;
  right: 10px;
}
.beone-services .table-container {
  overflow-x: scroll;
}

.beone-services .table .username,
.beone-services .table .lastname,
.beone-services .table .firstname,
.beone-services .table .email {
  text-align: left;
}
.beone-services .container #requestAccessForm input{
  width: 100%;
}

/* Modal styles */
#modalBackdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
}
#modalBackdrop {
  background: rgba(0, 0, 0, 0.3);
}
#editModal {
  display: none;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 1000;
}

/* Modal styles */
    .modal { display: none; position: fixed; top: 20%; left: 50%; transform: translate(-50%, 0); background: #fff; border: 1px solid #ccc; padding: 20px; z-index: 1000; }
    .modal-backdrop { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.3); z-index: 999; }
 .warning {
    background-color: #f44336;
    color: white;
  }

  #modalBackdrop {
    display: none;
    position: fixed;
  }

  .beone-services .fa-stack {
    width: 40px;
    height: 40px;
  }

  #reportModal th,
  #reportModal td {
    border: 1px solid #ccc;
  }

/* Sorting styles for learners table */
.sortable-header {
  user-select: none;
  transition: background-color 0.2s ease;
}

.sort-indicator {
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
  color: #6b7280;
  font-weight: bold;
  vertical-align: middle;
}

.sortable-header:hover .sort-indicator {
  color: #374151;
}

/* Filter styles */
#filter-results {
  font-weight: 500;
  transition: color 0.2s ease;
}