.background-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.background-container .bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.background-container .bg-img.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 1s ease-in-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  max-width: 200px;
}

.content {
  position: relative;
  z-index: 4;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.content.show {
  opacity: 1;
}

.content p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 90%;
  margin: 0 auto;
}

.form-container {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  background-color: #282828;
  padding: 40px;
  border-radius: 10px;
  z-index: 5;
  width: 380px;
  max-width: 90%;
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 1) !important;
}

.form-container.show {
  opacity: 1;
}

.form-container img {
  max-width: 60%;
  height: auto;
  padding-bottom:30px;
}

input.form-control,
textarea.form-control,
input.form-control:focus,
textarea.form-control:focus {
  background: #282828;
  color:white;
}

.form-control:focus {
  box-shadow: 0 0 0.2rem rgba(64, 159, 255, 0.21);
  border-color:white;
}

.easy-autocomplete-container ul li.selected,
.easy-autocomplete-container ul {
  color:black;
}

.easy-autocomplete input.form-control {
  color:white;
}

.form-floating > label {
  color: #909090 !important;
}

.message textarea {
  min-height: 150px;
}

.file-upload {
  position: relative;
  margin-bottom: 20px;
}


.file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: block;
  background-color: transparent;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 10px 5px rgba(24, 24, 24, 0.836); 
  transition: transform 0.3s ease-in-out;
}



.file-upload-label img.icono-add {
  height: 25px;
  width: 25px;
  padding: 0;
  margin: 5px 10px 10px 10px;
  transition: transform 0.3s ease-in-out;
}

.file-upload {
  position: relative;
  cursor: pointer;
}

.file-upload:hover .icono-add {
  transform: scale(1.2);
  transition: transform 0.3s ease-in-out;
}

.file-upload:hover label.file-upload-label {
box-shadow:0 0 10px 5px rgb(15, 15, 15)!important;
transition: transform 0.3s ease-in-out;
}
.file-count {
  color: #b5b5b5;
  padding: 15px 0 0;
}

.file-name {
  color: #b5b5b5;
  font-size: 0.9em;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  width: 100%;
}

.file-text-container {
  flex-grow: 1;
  display: flex;
  overflow: hidden;
  text-align: left;
}

.file-name-text {
  flex-grow: 1;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 12px;
  color: #777;
  padding-left: 10px;
  white-space: nowrap;
}

.btn-primary {
  background-color: black;
  border-color:black;
}

.btn-primary:hover {
  background-color: rgb(32, 32, 32);
  border-color:rgb(32, 32, 32);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
  background-color: rgb(19, 19, 19);
  border-color:rgb(19, 19, 19);
}

.btn-circle {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  line-height: 1;
  font-size: 25px;
}


.btn-white.btn-primary {
  background-color: white;
  color: black;
  width: 100%;
  border-color: white;
  padding:15px;
  transition: all 200ms ease-in-out;
}

.btn-white.btn-primary:hover {
  background-color: black;
  color: white;
  width: 100%;
  border-color: black;
  padding:15px;
  transition: all 200ms ease-in-out;
}

.btn-white.btn-primary:active {
  background-color: black!important;
  color: black;
  width: 100%;
  border-color: black!important;
  padding:15px;
}

.border-top-white {
  border-top:1px solid black;
  padding-top: 20px;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.progress-container {
  width: 80%;
  max-width: 600px;
  margin: 20px auto;
  background-color: #727272;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 20px;
  background-color: rgb(68, 68, 68);
  width: 0%;
  transition: width 0.4s ease;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

.cancel-container {
  margin-top: 20px;
}

.cancel-btn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: white;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cancel-btn:hover {
  background-color: #67bbff;
}

.full-screen-drop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.full-screen-drop-overlay .drop-message {
  padding: 20px;
  border: 2px dashed #fff;
  border-radius: 10px;
  text-align: center;
}

.full-screen-drop-overlay .drop-message p {
  font-size: 2rem;
  text-align: center;
  margin: 0;
}

.full-screen-drop-overlay .drop-message img {
  filter: invert(1);
  width: 15%;
}

.easy-autocomplete {
  width: 100% !important;
}

@media (max-width: 768px) {
  .form-container {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .form-container img {
    max-width: 60%;
  }
}
