/**
// Copyright Darko Gjorgjijoski <info@codeverve.com>
// 2020. All Rights Reserved.
// This file is licensed under the GPLv2 License.
// License text available at https://opensource.org/licenses/gpl-2.0.php
 */
#vimeify-vimeo-upload-modal {
  max-width: 99.2%;
}

.vimeify-settings-section {
  margin-bottom: 32px;
}

.vimeify-vimeo-form-row input[type=text] {
  width: 100%;
}

.vimeify-progress-bar {
  height: 8px;
  width: 100%;
  background: #dcdcde;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.vimeify-progress-bar-inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #2271b1 0%, #135e96 100%);
  border-radius: 4px;
  max-width: 100%;
  transition: width 0.2s ease-out;
}

.vimeify-progress-bar-value {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  color: #50575e;
  font-weight: 500;
}

.vimeify-loader:before {
  height: 25px;
  width: 25px;
  content: "";
  animation: spin 1s ease-in-out infinite;
  background: url("data:image/gif;base64, ") center center;
  background-size: cover;
  line-height: 1;
  text-align: center;
  font-size: 2em;
  color: rgba(78, 59, 59, 0.75);
  display: inline-block;
  margin-right: 5px;
}

.vimeify-loader-inline {
  display: inline-block;
}

.vimeify-vimeo-search-controls input[type=text] {
  width: 75%;
}

.vimeify-vimeo-search-results {
  margin-top: 5px;
  width: 100%;
}

.vimeify-vimeo-upload-form h4 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1d2327;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.vimeify-vimeo-plain-form #vimeify-vimeo-search input[type=text] {
  width: 75%;
  max-height: 32px;
}

.vimeify-embed-container, .vimeify-embed-container iframe {
  box-sizing: border-box;
}

.vimeify-vimeo-form-row input[type=submit] {
  width: 100%;
}

.vimeify-vimeo-form-row textarea {
  width: 100%;
}

.vimeify-vimeo-form-row {
  margin-bottom: 20px;
  padding: 0;
}

.vimeify-vimeo-form-row label {
  display: block !important;
  width: 100%;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1d2327 !important;
  text-align: left !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.vimeify-vimeo-form-row input[type=text],
.vimeify-vimeo-form-row textarea,
.vimeify-vimeo-form-row select {
  width: 100% !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  border: 1px solid #c3c4c7 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  height: 38px !important;
  max-height: 36px !important;
  color: #2c3338 !important;
  background-color: #fff !important;
  background-image: none !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  text-align: left !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}
.vimeify-vimeo-form-row input[type=text]:focus,
.vimeify-vimeo-form-row textarea:focus,
.vimeify-vimeo-form-row select:focus {
  border-color: #2271b1 !important;
  outline: none !important;
  box-shadow: 0 0 0 1px #2271b1 !important;
  background-color: #fff !important;
}

.vimeify-vimeo-form-row textarea {
  resize: vertical !important;
  min-height: 100px !important;
  height: auto !important;
  max-height: 300px !important;
}

.vimeify-vimeo-form-row .button {
  height: 38px !important;
  padding: 8px 20px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
  font-size: 14px !important;
}

.vimeify-vimeo-form-row input[type=file] {
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.vimeify-dropzone {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.vimeify-dropzone-area {
  border: 2px dashed #c3c4c7 !important;
  border-radius: 8px !important;
  padding: 40px 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  background: #f9f9f9 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.vimeify-dropzone-area:hover {
  border-color: #2271b1 !important;
  background: #f0f6fc !important;
}

.vimeify-dropzone-highlight .vimeify-dropzone-area {
  border-color: #2271b1 !important;
  background: #f0f6fc !important;
  border-style: solid !important;
}

.vimeify-dropzone-has-file .vimeify-dropzone-area {
  border-color: #46b450 !important;
  background: #f0fdf4 !important;
  border-style: solid !important;
}

.vimeify-dropzone-icon {
  color: #8c8f94 !important;
  margin: 0 auto 20px !important;
  display: block !important;
  width: 48px !important;
  height: 48px !important;
}

.vimeify-dropzone-text {
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  color: #50575e !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

.vimeify-dropzone-browse {
  color: #2271b1 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}
.vimeify-dropzone-browse:hover {
  color: #135e96 !important;
}

.vimeify-dropzone-filename {
  margin: 0 !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: #1d2327 !important;
  background: #fff !important;
  border: 1px solid #46b450 !important;
  border-radius: 4px !important;
  display: none !important;
  font-weight: 500 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.vimeify-dropzone-filename.vimeify-show {
  display: inline-block !important;
}

.vimeify-vimeo-upload-form > h4 {
  margin: 0 0 20px 0 !important;
  padding: 0 0 15px 0 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1d2327 !important;
  border-bottom: 2px solid #f0f0f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: none !important;
  text-align: left !important;
  box-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.vimeify-vimeo-form-row label input[type=radio] {
  margin-right: 8px;
  width: auto;
  cursor: pointer;
}

.vimeify-vimeo-form-row > label {
  display: inline-block !important;
  width: auto !important;
  margin-right: 20px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer;
  padding: 8px 0;
}
.vimeify-vimeo-form-row > label:hover {
  color: #2271b1;
}

.vimeify-insert-type {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  font-size: 14px;
  height: 38px;
  line-height: 1.5;
  background-color: #fff;
  cursor: pointer;
  box-sizing: border-box;
}
.vimeify-insert-type:focus {
  border-color: #2271b1;
  outline: none;
  box-shadow: 0 0 0 1px #2271b1;
}

.vimeify-modal .vimeify-vimeo-video-content {
  margin-top: 20px;
}

.vimeify-vimeo-form-row label,
.vimeify-vimeo-video .button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

.vimeify-vimeo-upload-form {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

div.swal2-html-container {
  overflow-x: hidden;
}

span.vimeify-close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: 300;
  background: transparent;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  color: #787c82;
  border: none;
  transition: all 0.2s ease;
  z-index: 10;
}
span.vimeify-close-modal:hover {
  background: #f0f0f0;
  color: #1d2327;
}

/* Vimeify Modal System */
.vimeify-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vimeify-modal-overlay.vimeify-modal-show {
  opacity: 1;
}

.vimeify-modal {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  width: 700px;
  margin: 20px;
}

.vimeify-modal-overlay.vimeify-modal-show .vimeify-modal {
  transform: scale(1);
}

.vimeify-modal-dialog {
  position: relative;
}

.vimeify-modal-content {
  position: relative;
  padding: 30px;
}

.vimeify-uploader-modal {
  width: 800px;
  max-width: 95%;
}

.vimeify-uploader-modal .vimeify-modal-content {
  padding: 40px;
}

.vimeify-modal-alert {
  padding: 40px 40px 30px;
  text-align: center;
  min-width: 400px;
}

.vimeify-modal-icon {
  font-size: 48px;
  line-height: 1;
  margin: 0 0 20px 0;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid currentColor;
}

.vimeify-modal-alert h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  color: #1d2327;
}

.vimeify-modal-alert p,
.vimeify-modal-alert .vimeify-modal-message {
  margin: 0 0 25px 0;
  color: #50575e;
  font-size: 14px;
  line-height: 1.6;
}

.vimeify-modal-alert .vimeify-modal-button {
  background: #2271b1;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-width: 100px;
  transition: all 0.2s ease;
}

.vimeify-modal-alert .vimeify-modal-button:hover {
  background: #135e96;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.vimeify-modal-alert.vimeify-modal-success .vimeify-modal-icon {
  color: #46b450;
}
.vimeify-modal-alert.vimeify-modal-success h3 {
  color: #46b450;
}

.vimeify-modal-alert.vimeify-modal-error .vimeify-modal-icon {
  color: #dc3232;
}
.vimeify-modal-alert.vimeify-modal-error h3 {
  color: #dc3232;
}

.vimeify-modal-alert.vimeify-modal-warning .vimeify-modal-icon {
  color: #f0b849;
}
.vimeify-modal-alert.vimeify-modal-warning h3 {
  color: #f0b849;
}

.vimeify-modal-confirm {
  padding: 40px 40px 30px;
  text-align: center;
  min-width: 400px;
}

.vimeify-modal-confirm h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  color: #1d2327;
}

.vimeify-modal-confirm p {
  margin: 0 0 25px 0;
  color: #50575e;
  font-size: 14px;
  line-height: 1.6;
}

.vimeify-modal-confirm .vimeify-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 25px;
}

.vimeify-modal-confirm .vimeify-modal-cancel {
  background: #2271b1 !important;
  color: white !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-width: 120px !important;
  transition: all 0.2s ease !important;
}
.vimeify-modal-confirm .vimeify-modal-cancel:hover {
  background: #135e96 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3) !important;
}

.vimeify-modal-confirm .vimeify-modal-confirm-btn {
  background: #dc3232 !important;
  color: white !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-width: 120px !important;
  transition: all 0.2s ease !important;
}
.vimeify-modal-confirm .vimeify-modal-confirm-btn:hover {
  background: #b02828 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(220, 50, 50, 0.3) !important;
}

.vimeify-modal-alert .vimeify-modal-buttons {
  margin-top: 25px;
}

.vimeify-modal-confirm .vimeify-modal-button {
  background: #2271b1;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-width: 100px;
  transition: all 0.2s ease;
}

.vimeify-modal-confirm .vimeify-modal-button:hover {
  background: #135e96;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.vimeify-modal-confirm .vimeify-modal-button-cancel {
  background: #f0f0f0;
  color: #50575e;
}

.vimeify-modal-confirm .vimeify-modal-button-cancel:hover {
  background: #dcdcde;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vimeify-loader {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  animation: vimeify-spin 0.8s linear infinite !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  color: inherit !important;
}
.vimeify-loader circle, .vimeify-loader path {
  stroke: currentColor !important;
}

@keyframes vimeify-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type {
  margin-top: 35px !important;
  margin-bottom: 30px !important;
  padding: 0 !important;
  border-bottom: none !important;
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  flex: 1 !important;
  min-width: 200px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  padding: 16px 20px !important;
  background: #f6f7f7 !important;
  border: 2px solid #dcdcde !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  box-sizing: border-box !important;
  color: #1d2327 !important;
  text-align: left !important;
  box-shadow: none !important;
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label:hover {
  background: #f0f0f1 !important;
  border-color: #2271b1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.1) !important;
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label input[type=radio] {
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  accent-color: #2271b1 !important;
  border: 1px solid #8c8f94 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label input[type=radio]:checked + span, .vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label:has(input[type=radio]:checked) {
  background: #f0f6fc !important;
  border-color: #2271b1 !important;
  color: #2271b1 !important;
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.15) !important;
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label input[type=radio]:checked ~ * {
  color: #2271b1 !important;
}
.vimeify-vimeo-upload-form > .vimeify-vimeo-form-row:first-of-type label:has(input[type=radio]:checked) {
  background: #f0f6fc !important;
  border-color: #2271b1 !important;
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.15) !important;
}

.vimeify-vimeo-upload-form > .vimeify-insert-wrapper {
  margin-top: 20px !important;
  padding-top: 15px !important;
}

.vimeify-insert-wrapper {
  margin-top: 25px;
}

.vimeify-video-select-row {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}
.vimeify-video-select-row .vimeify-vimeo-existing {
  flex: 1 !important;
  width: auto !important;
  margin: 0 !important;
}
.vimeify-video-select-row .insert_video {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

#vimeify-vimeo-search .vimeify-vimeo-form-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
#vimeify-vimeo-search .vimeify-vimeo-form-row input[type=text] {
  flex: 1;
}
#vimeify-vimeo-search .vimeify-vimeo-form-row button {
  flex-shrink: 0;
  white-space: nowrap;
}

button.loading {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  pointer-events: none !important;
  opacity: 0.9 !important;
}
button.loading .vimeify-loader {
  position: relative !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  color: currentColor !important;
}

.vimeify-videos-404 {
  margin-top: 20px;
  padding: 15px;
  background: #f6f7f7;
  border-radius: 4px;
}

.vimeify-local-search-wrapper {
  margin-bottom: 15px !important;
}

.vimeify-local-search-input {
  width: 100% !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  border: 1px solid #c3c4c7 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  height: 38px !important;
  color: #2c3338 !important;
  background-color: #fff !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
}
.vimeify-local-search-input:focus {
  border-color: #2271b1 !important;
  outline: none !important;
  box-shadow: 0 0 0 1px #2271b1 !important;
}
.vimeify-local-search-input::placeholder {
  color: #8c8f94 !important;
}

.vimeify-local-loading {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 20px !important;
  color: #50575e !important;
  font-size: 14px !important;
}
.vimeify-local-loading.vimeify-show {
  display: flex !important;
}
.vimeify-local-loading .vimeify-loader {
  width: 20px !important;
  height: 20px !important;
}

.vimeify-load-more-wrapper {
  text-align: center !important;
  margin-top: 15px !important;
  padding-top: 15px !important;
  border-top: 1px solid #dcdcde !important;
}

.vimeify-video-list {
  margin-top: 20px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-height: 400px !important;
  overflow-y: auto !important;
}

.vimeify-local-video-list {
  margin-top: 0 !important;
}

.vimeify-video-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid #dcdcde !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}
.vimeify-video-item:hover {
  border-color: #2271b1 !important;
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1) !important;
}

.vimeify-video-thumbnail {
  flex-shrink: 0 !important;
  width: 120px !important;
  height: 68px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #f0f0f0 !important;
}
.vimeify-video-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.vimeify-video-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.vimeify-video-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1d2327 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.vimeify-video-duration {
  font-size: 12px !important;
  color: #757575 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.vimeify-insert-video-btn {
  flex-shrink: 0 !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 2px solid currentColor !important;
  background: transparent !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
}
.vimeify-insert-video-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
}
.vimeify-insert-video-btn:hover {
  background: currentColor !important;
  transform: translateX(2px) !important;
}
.vimeify-insert-video-btn:hover svg {
  stroke: white !important;
}
