.sticky-flash {
  position: fixed;
  top: 0; /* 56px; /* Adjust based on navbar height */
  z-index: 100000; /* Ensure it's on top */
  left: 0;
  right: 0;
  width: 100vw; /* Full viewport width */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
}

.exercise-custom {
  /*box-shadow: 0px 0px 14px 0px rgba(204, 204, 204, 1);*/
  box-shadow: 0px 0px 14px 0px rgba(204, 204, 204, 1);
  border: 4px solid #eee;

  display: block;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.a-custom {
  color: black !important;
  text-decoration: none;
}

.exercise-date {
  text-align: center;
}

.exercise-status {
  position: absolute;
  top: 0;
  right: 5px;
}

.exercise-title {
  text-align: center;
  /*height: 2.5em;*/
  /*font-size: 1.0em;*/
  margin: 5px;
  font-weight: 600;
}

.exercise-thumbnail {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Horizontally center the thumbnail */
  align-items: center;
  padding: 10px;
}


.star-rating {
  direction: rtl;
  display: inline-block;
  cursor: pointer;
}

.star-rating input {
  display: none;
}

.star-rating label {
  color: #ddd;
  font-size: 24px;
  padding: 0 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #ffc107;
}

.btn-custom {
  height: fit-content;
  width: fit-content;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  color: darkred;
  font-size: 1.2rem;
}


.btn-orange {
  background-color: #ff5233;
  color: white;
}

.btn-orange:hover {
  background-color: #d93a18;
  color: white;
}

a.btn-orange:active,
button.btn-orange:active {
  background-color: #d93a18 !important;
  color: white !important;
  box-shadow: none !important;
}

.btn-orange.active {
  background-color: #d93a18;
  color: white;
}

.btn-orange:focus-visible {
  background-color: #d93a18;
  color: white;
}

.custom-block {
  padding: 10px;
  box-shadow: 0px 0px 14px 0px rgba(204, 204, 204, 1);
  border: 4px solid #eee;
  height: 100%!important;
  /*margin: 0px 0px 5px 0px;*/
}

.dropzone {
  padding: 10px !important;
  min-height: 100px !important;
}

.dz-image {
  width: 90% !important;
}

.dz-image-preview {
  width: 90% !important;
}

.dz-preview {
  width: 90% !important;
}

.dz-progress {
  top: -5% !important;
}


#myGreatDropzone {
  /*position: relative;*/
  text-align: center;
  min-height: 155px !important;
}

#myGreatDropzone::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-upload" viewBox="0 0 16 16"><path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/><path d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708z"/></svg>');
  /*position: absolute;*/
  /*top: 10px;*/
  /*left: 10px;*/
  width: 100%;
  height: 40px;
  pointer-events: none;
  opacity: 0.6;
}

.dz-default {
  margin-top: 1em !important;
  margin-bottom: 2em !important;
}

.css-admin td {
  background-color: rgba(112, 214, 166, 0.4) !important;
}

.css-beta td {
  background-color: rgba(154, 162, 255, 0.4) !important;
}

.css-pioneer td {
  background-color: rgba(255, 117, 58, 0.4) !important;
}

.alert-custom {
  z-index: 100000;
}

.exercise-img {
  border: 1px solid #ccc;
  padding: 5px;
}


.hover-container {
  position: relative;
  display: inline-block;
}

.hover-container .hover-image {
  display: none;
  position: absolute;
  top: 120%; /* distance below the icon */
  left: 50%;
  /*transform: translateX(-50%);*/
  z-index: 1000;
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hover-container:hover .hover-image {
  display: block;
}

.hover-image img {
  max-width: 500px;
  height: auto;
}

.medium-icon {
  font-size: 2em
}

/* Spinner CSS */
.spinner-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
    z-index: 10001;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*.modal-backdrop {*/
/*  z-index: 1050 !important;*/
/*}*/

.share-modal-title {
    font-weight: 700!important;
}

.share-modal-content {
    border-radius: 13px!important;
}

.share-modal-body {
    color: #3b3b3b!important;
}


.smd {
    width: 100px;
    font-size: small;
    text-align: center
}

.share-modal-footer {
    display: block!important;
}

.round-thumbnail {
    border-radius: 33px!important;
    width: 61px!important;
    height: 61px!important;
}

.message {
    font-size: 11px;
    color: #ee5535
}


.ur {
    border: none;
    /*background-color: #e6e2e2;*/
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px
}

.cpy {
    border: none;
    background-color: #e6e2e2;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer
}

.a-no {
  text-decoration: none;
}


.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(25, 135, 84, .25);
}

.custom-checkbox {
  cursor: pointer;
  accent-color: #198754;
}

.filter-col {
  margin-bottom: 5px;
}

#language-switcher::-ms-expand {
    display: none;
}

#language-switcher {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: none; /* Optional: removes background */
  padding-right: 1rem; /* Optional: add space where arrow was */
  border: none; /* Optional: style as needed */
  background-color: white;
}

.country-flag {
  position: absolute;
  left: 15px;
  right: 5px;
}

.card-duration {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color:white;
  background-color: #555555;
  font-size: 12px;
  border-radius: 2px;
  /*opacity: 0.7;*/
}

.exercise-custom.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exercise-thumbnail {
  margin-top: auto;
}