@charset "UTF-8";
body {
  font-family: "Outfit", "Inter", sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  margin: 0;
  padding: 2rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
}

.dashboard {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .card {
    padding: 1.5rem;
    border-radius: 15px;
  }
}

h1,
h2 {
  background: linear-gradient(135deg, #00d1b2, #7957d5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0;
  font-size: 1em;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

th {
  text-align: left;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

td {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}
td:first-child {
  border-radius: 10px 0 0 10px;
}
td:last-child {
  border-radius: 0 10px 10px 0;
}

.points-cell {
  font-weight: 600;
  color: #00d1b2;
  font-size: 1.1rem;
}

.status-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.status-tag.ready {
  background: rgba(72, 199, 116, 0.2);
  color: #48c774;
}
.status-tag.waiting {
  background: rgba(0, 209, 178, 0.2);
  color: #00d1b2;
}

.platform-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.platform-tag.platform-sharkai {
  background: rgba(0, 209, 178, 0.15);
  color: #00d1b2;
  border: 1px solid rgba(0, 209, 178, 0.3);
}
.platform-tag.platform-melt {
  background: rgba(255, 56, 96, 0.15);
  color: #ff8a8a;
  border: 1px solid rgba(255, 56, 96, 0.3);
}
.platform-tag.platform-meltplus {
  background: rgba(72, 199, 116, 0.15);
  color: #8affad;
  border: 1px solid rgba(72, 199, 116, 0.3);
}
.platform-tag.platform-meltking {
  background: rgba(249, 115, 22, 0.15);
  color: #ffb088;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.platform-tag.platform-fox {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}
.platform-tag.platform-sparkart {
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.platform-tag.platform-sparkmotion {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.platform-tag.platform-dooble {
  background: rgba(250, 204, 21, 0.15);
  color: #fef08a;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.prompt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.prompt-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  padding: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}
.prompt-form textarea:focus {
  outline: none;
  border-color: #00d1b2;
}
.prompt-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.prompt-form .form-row .platform-selection {
  width: 100%;
}
.prompt-form .form-row input[type=file] {
  flex: 1;
  min-width: 150px;
}
.prompt-form .form-row input[type=number] {
  width: 70px;
}
@media (max-width: 600px) {
  .prompt-form .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .prompt-form .form-row input[type=file],
  .prompt-form .form-row input[type=number],
  .prompt-form .form-row button {
    width: 100% !important;
  }
}
.prompt-form .form-row select,
.prompt-form .form-row input[type=text],
.prompt-form .form-row input[type=number] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  padding: 0.6rem;
  font-family: inherit;
}
.prompt-form .form-row select:focus,
.prompt-form .form-row input[type=text]:focus,
.prompt-form .form-row input[type=number]:focus {
  outline: none;
  border-color: #00d1b2;
}
.prompt-form .form-row select option {
  background: #1a1a1a;
  color: white;
}
.prompt-form .form-row input[type=file] {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}
.prompt-form .form-row button {
  background: linear-gradient(135deg, #00d1b2, #7957d5);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.prompt-form .form-row button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.prompt-form .platform-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.prompt-form .platform-selection .platform-checkbox {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.prompt-form .platform-selection .platform-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.prompt-form .platform-selection .platform-checkbox span {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.prompt-form .platform-selection .platform-checkbox:hover span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.prompt-form .platform-selection .platform-checkbox input:checked + span {
  color: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}
.prompt-form .platform-selection .platform-checkbox.platform-sharkai input:checked + span {
  background: #00d1b2;
  border-color: #00d1b2;
}
.prompt-form .platform-selection .platform-checkbox.platform-melt input:checked + span {
  background: #ff3860;
  border-color: #ff3860;
}
.prompt-form .platform-selection .platform-checkbox.platform-meltplus input:checked + span {
  background: #48c774;
  border-color: #48c774;
}
.prompt-form .platform-selection .platform-checkbox.platform-meltking input:checked + span {
  background: #f97316;
  border-color: #f97316;
}
.prompt-form .platform-selection .platform-checkbox.platform-fox input:checked + span {
  background: #ec4899;
  border-color: #ec4899;
}
.prompt-form .platform-selection .platform-checkbox.platform-sparkart input:checked + span {
  background: #0ea5e9;
  border-color: #0ea5e9;
}
.prompt-form .platform-selection .platform-checkbox.platform-sparkmotion input:checked + span {
  background: #a855f7;
  border-color: #a855f7;
}
.prompt-form .platform-selection .platform-checkbox.platform-dooble input:checked + span {
  background: #facc15;
  color: #000 !important;
  border-color: #facc15;
}
.prompt-form .mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.prompt-form .mode-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 209, 178, 0.3);
}
.prompt-form .mode-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.prompt-form .mode-toggle__input:checked + .mode-toggle__track {
  background: linear-gradient(135deg, #00d1b2, #7957d5);
  border-color: transparent;
}
.prompt-form .mode-toggle__input:checked + .mode-toggle__track::after {
  transform: translateX(20px);
  background: white;
}
.prompt-form .mode-toggle__track {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s;
}
.prompt-form .mode-toggle__track::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.prompt-form .mode-toggle__text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}
.prompt-form .mode-toggle__input:checked ~ .mode-toggle__text {
  color: #00d1b2;
}

.prompt-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #00d1b2;
}
@media (max-width: 600px) {
  .prompt-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
.prompt-item.platform-meltplus {
  border-left-color: #48c774;
}
.prompt-item.platform-meltking {
  border-left-color: #f97316;
}
.prompt-item.platform-sparkart {
  border-left-color: #0ea5e9;
}
.prompt-item.platform-sparkmotion {
  border-left-color: #a855f7;
}
.prompt-item.platform-dooble {
  border-left-color: #facc15;
}
.prompt-item .info {
  flex: 1;
}
.prompt-item .info p {
  margin: 0;
  font-size: 0.95rem;
}
.prompt-item .info .meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.4rem;
}
.prompt-item .info .meta span {
  margin-right: 1rem;
  display: inline-block;
}
.prompt-item .actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .prompt-item .actions {
    width: 100%;
    justify-content: space-between;
  }
}
.prompt-item .actions .progress {
  font-size: 0.9rem;
  font-weight: 600;
  color: #00d1b2;
}
.prompt-item .actions .delete-btn {
  background: none;
  border: none;
  color: rgba(255, 56, 96, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}
.prompt-item .actions .delete-btn:hover {
  color: #ff3860;
}
.prompt-item .copy-btn {
  background: rgba(0, 209, 178, 0.1);
  border: none;
  color: #00d1b2;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 0.5rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.prompt-item .copy-btn:hover {
  background: rgba(0, 209, 178, 0.2);
}
.prompt-item .copy-btn.copied {
  background: #48c774;
  color: white;
}

.progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trials-edit {
  width: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: white;
  padding: 0.2rem;
  text-align: center;
  font-weight: 600;
}
.trials-edit:focus {
  outline: none;
  border-color: #00d1b2;
}
.trials-edit::-webkit-inner-spin-button, .trials-edit::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

summary {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(10, 10, 10);
  backdrop-filter: blur(12px);
  margin: 0;
  padding: 1.5rem 2rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  summary {
    top: 0;
    margin: -1.5rem -1.5rem 0;
    padding: 1rem 1.5rem;
    border-radius: 15px 15px 0 0;
  }
}
summary::-webkit-details-marker {
  display: none;
}
summary h2 {
  margin: 0;
  display: inline-block;
}
summary::after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform 0.3s;
  color: rgba(255, 255, 255, 0.4);
}

details[open] summary::after {
  transform: rotate(180deg);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.video-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, background 0.2s;
}
.video-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}
.video-item:hover .video-placeholder {
  background: linear-gradient(135deg, rgba(0, 209, 178, 0.08), rgba(121, 87, 213, 0.08));
}
.video-item:hover .video-placeholder .play-icon {
  transform: scale(1.1);
  color: #00d1b2;
}
.video-item .video-preview {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  cursor: pointer;
}
.video-item .video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  animation: fadeIn 0.25s ease-out forwards;
}
.video-item .video-preview .video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.05));
  transition: all 0.3s;
}
.video-item .video-preview .video-placeholder .play-icon {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}
.video-item .video-info {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.video-item .video-info .video-name {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-item .video-info .video-actions {
  display: flex;
  gap: 0.5rem;
}
.video-item .video-info .video-actions .dl-btn {
  flex: 1;
  background: rgba(0, 209, 178, 0.15);
  color: #00d1b2;
  text-decoration: none;
  font-size: 0.75rem;
  padding: 0.4rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}
.video-item .video-info .video-actions .dl-btn:hover {
  background: rgba(0, 209, 178, 0.25);
}
.video-item .video-info .video-actions .del-btn {
  background: rgba(255, 56, 96, 0.1);
  border: none;
  color: #ff3860;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
}
.video-item .video-info .video-actions .del-btn:hover {
  background: rgba(255, 56, 96, 0.2);
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0 1rem;
  width: 100%;
}

.load-more-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: white;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}
.load-more-btn:hover {
  background: linear-gradient(135deg, #00d1b2, #7957d5);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 209, 178, 0.3);
}
.load-more-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.logs-container {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  height: 1000px;
  overflow-y: auto;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .logs-container {
    height: 600px;
    padding: 1rem;
    font-size: 0.75rem;
  }
}
.logs-container .log-entry {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  word-break: break-all;
  line-height: 1.4;
  transition: background 0.2s;
}
.logs-container .log-entry:hover {
  background: rgba(255, 255, 255, 0.05);
}
.logs-container .log-entry.log-error {
  color: #ff8a8a;
  border-left-color: #ff3860;
  background: rgba(255, 56, 96, 0.05);
}
.logs-container .log-entry.log-success {
  color: #8affad;
  border-left-color: #48c774;
  background: rgba(72, 199, 116, 0.05);
}
.logs-container .log-entry.log-info {
  color: #8ad6ff;
  border-left-color: #00d1b2;
  background: rgba(0, 209, 178, 0.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal .modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal .modal-content img,
.modal .modal-content video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal .modal-content .close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.2s;
}
.modal .modal-content .close-modal:hover {
  background: rgba(0, 209, 178, 0.5);
  color: white;
}

.clickable-image {
  color: #00d1b2;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.clickable-image:hover {
  opacity: 0.8;
}

.video-preview {
  cursor: pointer;
}

/*# sourceMappingURL=styles.css.map */
