@charset "UTF-8";
html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class] {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  display: inline-block;
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(16, 16, 16, 0.25);
  -webkit-backdrop-filter: blur(0.375rem);
          backdrop-filter: blur(0.375rem);
  z-index: 60;
}
.header.mobile-open {
  background-color: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
.header_container {
  max-width: 100rem;
  padding: 0 1rem;
  margin: 0 auto;
}
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
}
.header_logo {
  font-size: 2rem;
  line-height: 2.5rem;
  color: #fff;
  font-weight: 700;
}
.header_nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header_pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 600;
  padding: 0.375rem 1rem;
}
.header_pricing svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.header_box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header_link {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 0.9375rem;
  color: #000;
  font-weight: 600;
  text-align: center;
  padding: 0.375rem 2rem;
  background-color: #fff;
  border-radius: 1.125rem;
}
.header_link.border {
  padding: 0.3125rem 1.9375rem;
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
}
.header_link.gradient {
  background: linear-gradient(135deg, #3A83F5 0%, #07B6D5 100%);
  color: #fff;
}
.header_burger {
  display: none;
}

.header-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(16, 16, 16, 0.25);
  -webkit-backdrop-filter: blur(0.375rem);
          backdrop-filter: blur(0.375rem);
  padding-top: 3rem;
  max-height: calc(100svh - 3rem);
  overflow-y: auto;
  display: none;
  z-index: 50;
}
.header-menu.open {
  display: block;
}
.header-menu_body {
  padding: 1.25rem 1rem;
}
.header-menu_nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  .header.mobile-open .header_burger span:nth-child(1) {
    transform: translateY(0.375rem) rotate(45deg);
  }
  .header.mobile-open .header_burger span:nth-child(2) {
    opacity: 0;
  }
  .header.mobile-open .header_burger span:nth-child(3) {
    transform: translateY(-0.375rem) rotate(-45deg);
  }
  .header_inner {
    padding: 0.375rem 0;
  }
  .header_logo {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }
  .header_nav {
    display: none;
  }
  .header_burger {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.4375rem 0.1875rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .header_burger span {
    display: block;
    width: 100%;
    height: 0.125rem;
    background-color: #999;
    border-radius: 0.625rem;
    transition: all 0.3s ease;
  }
}
.footer {
  padding: 3.5rem 0;
}
.footer_container {
  max-width: 83.25rem;
  padding: 0 1rem;
  margin: 0 auto;
}
.footer_inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}
.footer_content {
  max-width: 29.875rem;
}
.footer_logo {
  display: inline-flex;
  font-size: 1.5rem;
  line-height: 2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer_text {
  font-size: 1.125rem;
  color: #9CA3AF;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.footer_info {
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 400;
}
.footer_items {
  display: flex;
  gap: 3.25rem;
}
.footer_item-title {
  font-size: 1.125rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer_nav-item {
  font-size: 1.125rem;
  color: #9CA3AF;
}
.footer_nav-item:not(:last-child) {
  margin-bottom: 0.625rem;
}
.footer_nav-item a {
  color: inherit;
  transition: color 0.2s ease;
}
.footer_nav-item a:hover {
  color: #fff;
}
.footer_nav-link {
  font-size: 1.125rem;
  font-weight: 400;
}
.footer_nav-link:hover {
  color: #fff;
}
.footer_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer_copyright {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 400;
  white-space: nowrap;
}
.footer_legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer_legal-link {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer_legal-link:hover {
  color: #fff;
}
.footer_credits {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 400;
  white-space: nowrap;
}
.footer_credits a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer_credits a:hover {
  color: #fff;
}

@media (max-width: 1200px) {
  .footer_content {
    max-width: 27.5rem;
  }
  .footer_items {
    gap: 2rem;
  }
}
@media (max-width: 1024px) {
  .footer_inner {
    flex-direction: column;
  }
  .footer_content {
    max-width: 100%;
  }
  .footer_items {
    flex-wrap: wrap;
  }
  .footer_text {
    font-size: 1rem;
  }
  .footer_nav-item {
    font-size: 1rem;
  }
  .footer_nav-link {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .footer_bottom {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer_legal {
    order: -1;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0;
  }
  .footer_bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-align: center;
  }
  .footer_legal {
    gap: 1rem;
  }
  .footer_legal-link {
    font-size: 0.75rem;
  }
  .footer_copyright, .footer_credits {
    font-size: 0.75rem;
  }
}
.auth-page {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.auth-container {
  max-width: 27.625rem;
  width: 100%;
  margin: 4.25rem 0;
}

.auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.6875rem;
}

.auth-title {
  font-size: 1.25rem;
  color: #D1D5DB;
  font-weight: 600;
}

.auth-form {
  margin-bottom: 1.1875rem;
}
.auth-form__inputs {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.6875rem;
}

.auth-input-group .error-message {
  font-size: 0.625rem;
  color: #D70000;
  font-weight: 400;
}

.auth-checkbox-group {
  display: flex;
  justify-content: center;
}
.auth-checkbox-group .auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}
.auth-checkbox-group .auth-checkbox-input {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background-color: #18181B;
  border-radius: 0.4375rem;
  border: 1px solid #27272A;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin: 0;
  position: relative;
}
.auth-checkbox-group .auth-checkbox-input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.875rem;
  height: 0.875rem;
  background: linear-gradient(180deg, #3A83F5 0%, #07B6D5 100%);
  border-radius: 0.1875rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.auth-checkbox-group .auth-checkbox-input:checked::before {
  opacity: 1;
}
.auth-checkbox-group .auth-checkbox-input.error {
  border-color: #D70000;
}
.auth-checkbox-group .auth-checkbox-text {
  font-size: 0.625rem;
  line-height: 0.8125rem;
  color: #ddd;
  font-weight: 600;
}
.auth-checkbox-group .auth-checkbox-text a {
  color: #ddd;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}

.auth-input {
  display: block;
  width: 100%;
  background: #18181B;
  border-radius: 0.9375rem;
  border: 1px solid #27272A;
  padding: 0.8125rem 1.6875rem;
  font-size: 0.9375rem;
  line-height: 1.4375rem;
  color: #fff;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease;
}
.auth-input::-moz-placeholder {
  color: #838383;
}
.auth-input::placeholder {
  color: #838383;
}
.auth-input:focus {
  border-color: #434343;
}
.auth-input.error {
  border-color: #D70000;
}

.auth-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #DDD;
  border-radius: 0.9375rem;
  padding: 0.875rem 1.6875rem;
  font-size: 0.9375rem;
  line-height: 1.4375rem;
  color: #2D2D2D;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.auth-btn:hover {
  background-color: #FFF;
}
.auth-btn:active {
  background-color: #ADADAD;
}
.auth-btn:disabled {
  background-color: #838383;
}

.auth-separator {
  margin: 1.1875rem 0;
  display: flex;
  justify-content: center;
  position: relative;
}
.auth-separator__line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 0.1875rem;
  background-color: #18181B;
}
.auth-separator__text {
  font-size: 0.9375rem;
  color: #838383;
  font-weight: 400;
  margin-top: -0.1875rem;
  background-color: #0B0B0B;
  padding: 0 1.25rem;
  z-index: 1;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.social-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9375rem;
  font-size: 0.9375rem;
  color: #DDD;
  font-weight: 600;
  padding: 0.8125rem 0.875rem;
  border: 1px solid #DDD;
  border-radius: 0.9375rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-btn:hover {
  border-color: #fff;
  color: #fff;
}
.social-btn:active {
  border-color: #ADADAD;
  color: #ADADAD;
}
.social-btn img,
.social-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.auth-footer {
  margin-top: 1.6875rem;
  display: flex;
  justify-content: center;
}

.auth-link {
  padding: 0.3125rem 1.6875rem;
  font-size: 0.625rem;
  color: #DDD;
  font-weight: 600;
  transition: color 0.2s ease;
}
.auth-link:hover {
  color: #fff;
}
.auth-link:active {
  color: #ADADAD;
}

html,
body {
  height: 100%;
}

body {
  background: #0B0B0B;
  color: #ffffff;
  font-size: 16px;
  font-family: "Inter", arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.modal-open {
  overflow: hidden;
}

.page-body {
  background: #0B0B0B;
  color: #ffffff;
  font-size: 16px;
  font-family: "Inter", arial, sans-serif;
  min-height: 100svh;
}
.page-body--auth .content {
  padding-top: 0;
}

.content {
  flex-grow: 1;
  padding-top: 3.75rem;
}

.box {
  background: #2c2c2c;
  padding: 40px 60px;
  margin: 8% auto 0 auto;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 3px 3px 10px #161616;
}
.box h1 {
  margin: 0;
}
.box p {
  margin: 25px 0;
  color: #b9b9b9;
}
.box a {
  color: #e1e1e1;
}
.box a:hover {
  text-decoration: none;
}
.box form {
  padding-top: 60px;
}
.box form label {
  display: block;
  margin-bottom: 20px;
}
.box form label span {
  display: block;
  margin-bottom: 10px;
}
.box form label input[type=text],
.box form label input[type=password],
.box form label input[type=email] {
  background: #303030;
  box-sizing: border-box;
  width: 100%;
  padding: 15px 20px;
  color: #fff;
  border: 1px solid #181818;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}
.box form label input:focus {
  outline: none;
  border: 1px solid #000;
}
.box form .btn {
  padding: 18px 25px;
  font-size: 17px;
}
.box form .btn-default {
  background: #181818;
}
.box .error {
  padding-top: 50px;
}
.box .error p {
  color: #ff4c4c;
  margin: 5px 0;
}
.box hr {
  border: none;
  border-bottom: 1px solid #3c3c3c;
  border-top: 1px solid #1c1c1c;
  margin: 30px 0;
}

.modal {
  --bs-modal-width: 32.5rem;
}

.modal-content {
  background-color: transparent;
  border: none;
  border-radius: 0;
}

.modal-backdrop {
  --bs-backdrop-bg: rgba(6, 6, 6, 0.50);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.modal-backdrop.show {
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: 8px 15px;
  margin-right: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-default {
  color: #c1c1c1;
  background: #262626;
}

.btn-default:hover {
  color: #d2d2d2;
  background: #1a1a1a;
}

.extra-info {
  margin: 20px auto;
  color: #5a5a5a;
  font-size: 12px;
  text-align: center;
}
.extra-info a {
  color: #a5a5a5;
  text-decoration: none;
}
.extra-info a:hover {
  text-decoration: underline;
}

.box p.status {
  margin-bottom: -30px;
  color: #00b2e7;
}

.relative {
  position: relative;
}

button {
  font-family: "Inter", arial, sans-serif;
}

.error-message {
  color: #ff4c4c;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

.loading-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.info-advanced-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  overflow-x: hidden;
  overflow-y: auto;
}
.info-advanced-modal.show {
  opacity: 1;
  visibility: visible;
}
.info-advanced-modal.show .info-advanced-modal__content {
  transform: scale(1);
}

.info-advanced-modal__overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.info-advanced-modal__content {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 1.5rem;
  max-width: 28rem;
  width: 100%;
  margin: 1rem 0;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .info-advanced-modal__content {
    max-width: 350px;
    width: 95vw;
    max-height: 85vh;
  }
}

.info-advanced-modal__header {
  padding: 1.5rem 1.5rem 1rem;
}
@media (max-width: 768px) {
  .info-advanced-modal__header {
    padding: 1rem;
  }
}

.info-advanced-modal__title-section {
  text-align: center;
}

.info-advanced-modal__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #a1a1aa;
  margin-bottom: 0.375rem;
}

.info-advanced-modal__description {
  color: #a1a1aa;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0;
}

.info-advanced-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: #fff;
  opacity: 0.7;
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}
.info-advanced-modal__close:hover {
  opacity: 1;
}
.info-advanced-modal__close svg {
  width: 1rem;
  height: 1rem;
}

.info-advanced-modal__body {
  padding: 0 1.5rem 1.5rem;
}

.info-advanced-modal__block:not(:last-child) {
  margin-bottom: 1rem;
}

.info-advanced-modal__subtitle {
  font-size: 1rem;
  line-height: 1.25rem;
  color: #a1a1aa;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-advanced-modal__text {
  font-size: 0.775rem;
  line-height: 1.125rem;
  color: #a1a1aa;
}

/* ================= Pricing Modal ================= */
.pricing-modal__dialog {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 1.5rem;
  padding: 2rem;
  color: #fff;
  font-family: "Inter", arial, sans-serif;
}
.pricing-modal__title {
  font-size: 1.25rem;
  line-height: 1.6rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
}
.pricing-modal__subtitle {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0 0 1.5rem 0;
}
.pricing-modal__plans {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pricing-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.pricing-plan:hover {
  background: rgba(255, 255, 255, 0.1);
}
.pricing-plan.selected {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}
.pricing-plan__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pricing-plan__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pricing-plan__icon-bg {
  position: absolute;
  inset: 0;
}
.pricing-plan__icon-bolt {
  width: 1.25rem;
  height: 1.25rem;
  color: #fff;
  z-index: 1;
}
.pricing-plan__tokens {
  font-size: 1.125rem;
  font-weight: 500;
}
.pricing-plan__rate {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #9ca3af;
}
.pricing-plan__price {
  font-size: 1.125rem;
  font-weight: 500;
}

.pricing-modal__actions {
  display: flex;
  gap: 0.75rem;
}
.pricing-modal__actions .pricing-cancel-btn,
.pricing-modal__actions .pricing-buy-btn {
  flex: 1;
  height: 3rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pricing-modal__actions .pricing-cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.pricing-modal__actions .pricing-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.pricing-modal__actions .pricing-buy-btn {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  color: #fff;
  display: none;
}
.pricing-modal__actions .pricing-buy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pricing-modal__actions .pricing-buy-btn:hover:not(:disabled) {
  background: linear-gradient(to right, #2563eb, #0891b2);
}

#notifications_list {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 10000;
}
#notifications_list .notification {
  background: #27272a;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #3f3f46;
  margin-top: 15px;
  font-size: 13px;
}
#notifications_list .notification .notification__close {
  display: none;
}
#notifications_list .notification--success {
  border-color: #003c28;
  background: #006400;
}
#notifications_list .notification--error {
  border-color: #bf0505;
  background: #a70000;
}
#notifications_list .notification--info {
  border-color: #224887;
  background: rgb(9, 67, 162);
}

.upload-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.upload-modal-content {
  background: #1a1a1a;
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  min-width: 300px;
}

.upload-modal-content p {
  color: #a1a1aa;
  margin: 15px 0;
  font-size: 16px;
}

.upload-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #333;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: upload-spin 1s linear infinite;
  margin: 0 auto 15px;
}

.upload-progress {
  margin-top: 20px;
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #333;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.upload-progress-fill {
  height: 100%;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.upload-progress-text {
  font-size: 14px;
  color: #ccc;
}

.multiple-image-preview {
  background-color: rgba(0, 0, 0, 0.9);
}

.image-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
}

.image-preview-content {
  max-width: 90%;
  max-height: 90%;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.image-preview-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 4px;
}

.image-preview-title {
  margin-top: 15px;
  font-size: 16px;
  color: #ffffff;
}

@keyframes upload-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Стили для состояния загрузки файлов */
.upload-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.upload-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: upload-spin 1s linear infinite;
  z-index: 10;
}

/* Стили для множественного селекта */
.multiple-select-wrapper {
  position: relative;
}

.multiple-select-container {
  position: relative;
}

.multiple-select-trigger {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #2c2c2c;
  border: 1px solid #404040;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}
.multiple-select-trigger:hover {
  border-color: #555;
}
.multiple-select-trigger.open {
  border-color: #007bff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.multiple-select-label {
  color: #888;
  font-size: 14px;
  margin-right: 12px;
  flex-shrink: 0;
}

.multiple-select-values {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.multiple-select-placeholder {
  color: #666;
  font-size: 14px;
}

.multiple-select-tag {
  display: inline-flex;
  align-items: center;
  background: #007bff;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  gap: 4px;
}
.multiple-select-tag .tag-remove {
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.8;
}
.multiple-select-tag .tag-remove:hover {
  opacity: 1;
}
.multiple-select-tag .tag-remove svg {
  width: 10px;
  height: 10px;
}

.multiple-select-arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.multiple-select-arrow svg {
  transition: transform 0.2s ease;
}

.multiple-select-trigger.open .multiple-select-arrow svg {
  transform: rotate(180deg);
}

.multiple-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #2c2c2c;
  border: 1px solid #404040;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.multiple-select-dropdown.open {
  display: block;
}
.multiple-select-dropdown.settings-select {
  position: fixed;
  z-index: 9999;
  border: 1px solid #404040;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.multiple-select-dropdown.settings-select.open {
  display: block;
}
.multiple-select-dropdown.settings-select.hidden {
  display: none !important;
}

.multiple-select-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #333;
}
.multiple-select-option:last-child {
  border-bottom: none;
}
.multiple-select-option:hover {
  background: #333;
}
.multiple-select-option input[type=checkbox] {
  display: none;
}
.multiple-select-option .checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 3px;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s ease;
}
.multiple-select-option .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.multiple-select-option input[type=checkbox]:checked + .checkmark {
  background: #007bff;
  border-color: #007bff;
}
.multiple-select-option input[type=checkbox]:checked + .checkmark::after {
  transform: rotate(45deg) scale(1);
}
.multiple-select-option .option-text {
  color: #fff;
  font-size: 14px;
  flex: 1;
}

.multiple-select-wrapper .select-trigger-descr {
  margin-top: 8px;
  color: #888;
  font-size: 12px;
  line-height: 1.4;
}

.multiple-select-wrapper.dropdown-up {
  z-index: 10;
}

.multiple-select-wrapper.dropdown-down {
  z-index: 10;
}
