body {
  font-family: 'Poppins', sans-serif;
  overflow-wrap: anywhere;
  word-wrap: anywhere; /* fallback */
  word-break: normal;
}

.pagination a,
.pagination span,
.pagination em{
	padding-right: 5px;
    padding-left: 5px;
    border: 1px solid;
    margin: 2px;
    border-radius: 6px;
    text-decoration: none;
    font-style: normal;
    color: #019df4;
}

.pagination em {
  background-color: #019df4;
  color: #fff;
}

.background {
  /*background-image: url('/images/background_mpa.jpg');*/
  background-color: #FFFFFF;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.form-container{
  max-width: 760px;
}

.rounded {
  border-radius: 1em !important;
}

/* login */

/* Exterior background */
.bg-page {
  background-color: #FFFFFF;
}

/* Logos */
.landing-logos img {
  display:block;
  border:0;
  outline:none;
  text-decoration:none;
  margin-left: 1em;
}

/* Interior frame */
.landing-frame {
  background-color: #F4F4F6;
  border-radius: 1em;
  padding: 2em;
  min-height: 80vh;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  .landing-frame {
    padding: 2em 0 2em 0;
    min-height: 65vh;
  }
}

/* Left side */
.landing-title {
  color: #3B3C40;
  font-weight: 600;
}

.club-mpa-logo {
  height: 3.5rem;
  padding-left: 1rem;
}

@media (max-width : 767px) {
  .club-mpa-logo {
    height: 1.5rem;
    padding-left: 1rem;
  }
}

.landing-left {
  color: #3B3C40;
}

.landing-image-wrapper {
  position: relative;
  max-width: 500px;
}

@media (max-width : 1200px) {
  .landing-image-wrapper {
    max-width: 400px;
    top: 50px;
  }
}

@media (max-width : 992px) {
  .landing-image-wrapper {
    max-width: 250px;
    top: 50px;
  }
}

/* Imagen principal */
.landing-image-wrapper .landing-image:first-child {
  position: relative;
  z-index: 2;
  display: block;
  width: 145%;
  transform: translate(-15px, -85px);
}

/* Imagen de fondo */
.landing-image-wrapper .landing-image:last-child {
  position: absolute; 
  top: 0;
  left: 0;
  width: 140%;
  z-index: 1;
  transform: translate(10px, -50px);
}

/* Right side */
.small-title {
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-yellow, 
.btn-primary {
  background-color: #FFD102 !important;
  color: #3a3c3f !important;
  cursor: pointer !important;
  border: #FFD102;
}

.btn-yellow:hover,
.btn-primary:hover {
  background-color: #e6bd00 !important;
  color: #3a3c3f !important;
  cursor: pointer !important;
  border: #e6bd00;
}

.login-card,
.register-card {
  background-color: #3a3c3f;
  border: none;
  color: #fff;
  border-radius: 1em;
}

.login-card .form-control {
  background: #53575A;
  border: none;
  border-bottom: 3px solid #f4f4f4;
  border-radius: 0;
  color: white;
}

.login-card .form-control:focus {
  box-shadow: none;
  border-bottom-color: #ffd102;
}

.login-card .form-control::placeholder {
  font-style: italic;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.grey-border {
  border: 1px solid #fff;
  border-radius: 1em;
  padding: 1em;
}

.p-none {
  pointer-events: none;
}

.form-link {
  font-size: 0.8rem;
  color: #00a3e0;
  text-decoration: none;
}

.floating-label {
  position: relative;
  padding-bottom: 1.5em;
}

.floating-label .form-control {
  padding-top: 22px;

}

.floating-label label {
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 11px;
  color: #b6b7b7;
  pointer-events: none;
  padding: 0 4px;
}

/* Footer */
.landing-footer {
  font-size: 0.75rem;
  color: #3a3c3f;
}

.landing-footer a {
  color: #3a3c3f;
  text-decoration: none;
}

.links a + a {
  border-left: 1px solid #3a3c3f;
  margin-left: 1.5em;
  padding-left: 1.5em;
  text-decoration: none;
}

/* Popups */
.mpa-popup .modal-content {
  background-color: rgba(79, 79, 79, 0.1);
  backdrop-filter: blur(3px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,1);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.mpa-popup .modal-header {
  border-bottom: none;
  min-height: 1.5rem;
}

.mpa-popup .btn-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
  padding: 0;
  line-height: 1;
}

/* Icono SVG de Bootstrap */
.mpa-popup .btn-close svg {
  display: none;
}

.mpa-popup .btn-close:hover {
  background: rgba(255,255,255,0.35);
}

.mpa-popup .modal-title,
.mpa-popup .modal-body,
.mpa-popup .modal-footer {
  color: #f4f4f4; 
}

.mpa-popup.show ~ .modal-backdrop.show {
  background-color: #f4f4f4;
  opacity: 0.3;
}

.set-password .form-check-input {
  border-radius: 50%;
  height: 0.65rem;
  width: 0.65rem;
  margin-right: 0.5rem;
  pointer-events: none;
}

.set-password .form-check-input:checked {
  background-color: #019df4
}

.password-rules .form-check-input, 
.main-validation .form-check-label {
  margin-left: 0.5rem;
}

.nav-item .nav-link {
  border: none;
}

@media (max-width: 576px) {
  .pagination {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Bootstrap override */
.form-select {
  background-color: #53575A !important;
  color: #fff !important;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-select-bg-img) !important;
}

.form-control::file-selector-button {
  background-color: #86888c !important;
  color: #fff;
}

.card-header {
  padding: 1em !important;
  margin-bottom: 0;
  color: #fff;
  background-color: #3a3c3f;
  border-bottom: 1px solid #ffffff !important;
  border-radius: 1em 1em 0 0 !important;
}

.card-body {
  color: #fff !important;
  background-color: #3a3c3f !important;
  border-radius: 0 0 1em 1em !important;
}

.card-header-admin {
  padding: 1em !important;
  margin-bottom: 0;
  color: #3a3c3f;
  background-color: #fff;
  border-bottom: 1px solid #ffffff !important;
  border-radius: 1em 1em 0 0 !important;
}

.card-body-admin {
  color: #3a3c3f;
  background-color: #fff;
  border-radius: 0 0 1em 1em !important;
}

.card-header-admin .form-select{
  background-color: #fff !important;
  color: black !important;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-select-bg-img) !important;
}

.badge {
  background-color: #019df4 !important;
  color: #fff !important;
  font-weight: normal;
}

.bg-primary {
  background-color: #019df4 !important;
  opacity: 1;
}

.link-primary, 
.btn-link,
.text-primary {
  color: #019df4 !important;
  text-decoration: none;
}

.a {
  color: #019df4 !important;
}
.form-check-input:checked {
  background-color: #019df4 !important;
  border-color: #019df4 !important;
}

.btn-outline-primary {
  color: #019df4 !important;
  border-color: #019df4 !important;
}

.btn-outline-primary:hover {
  background-color: #019df4 !important;
  color: #fff !important;
}

select {
  background: transparent;
  border: 0.5px solid #d3d4d3;
  border-radius: 0.2em;
  color: #fff;
}

#activity-start-field .form-select {
  width: auto;
  display: inline-block;
}
/* Custom Table Dark */
.table-custom-dark {
  background-color: #3a3c3f !important;
  color: #fff !important;
  border-color: #53575A !important;
}

.table-custom-dark thead th {
  background-color: #53575A !important;
  color: #fff !important;
  border-bottom: 2px solid #3a3c3f !important;
}

.table-custom-dark tbody td {
  background-color: #3a3c3f !important;
  color: #fff !important;
  border-bottom: 1px solid #53575A !important;
}

.table-custom-dark.table-hover tbody tr:hover td {
  background-color: #4a4d50 !important;
}

.bi-clock {
  color: #fff !important;
}

.table-custom-dark .bi-calendar2 {
  color: #019df4 !important;
}

/* Light inputs for Admin view */
.form-control-light {
  background-color: #fff !important;
  color: #3a3c3f !important;
  border: 1px solid #ced4da !important;
}

.form-control-light::placeholder {
  color: #6c757d !important;
}

.form-select-light {
  background-color: #fff !important;
  color: #3a3c3f !important;
  border: 1px solid #ced4da !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

#account_certificate::file-selector-button {
  background-color: #019df4 !important; /* color que quieras */
}

#account_certificate::file-selector-button:hover {
  background-color: #019df4 !important;
}