@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.mov-file-converter-tool,
.mov-file-converter-tool * {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 16px;
  box-sizing: border-box;
}

.mov-file-converter-tool {
  width: 100%;
  max-width: none;
  border-radius: 0 !important;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  color: #f8fbff;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #08111f 0%, #123a54 42%, #20a68b 100%);
}

.mov-file-converter-tool .mov-tool-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
}

.mov-file-converter-tool .mov-tool-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.mov-file-converter-tool .mov-tool-title {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
}

.mov-file-converter-tool .mov-tool-subtitle {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #d9f2f2;
}

.mov-file-converter-tool .mov-tool-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0 0 0;
  padding: 0;
  align-items: stretch;
}

.mov-file-converter-tool .mov-panel {
  width: 100%;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(8, 17, 31, 0.58);
  box-shadow: 0 24px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mov-file-converter-tool .mov-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 255, 214, 0.42);
  box-shadow: 0 32px 32px rgba(0, 0, 0, 0.28);
}

.mov-file-converter-tool .mov-input-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mov-file-converter-tool .mov-result-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.mov-file-converter-tool .mov-panel-label {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
}

.mov-file-converter-tool .mov-dropzone {
  width: 100%;
  min-width: 0;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed rgba(139, 255, 225, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  position: relative;
}

.mov-file-converter-tool .mov-dropzone:hover,
.mov-file-converter-tool .mov-dropzone:focus-visible,
.mov-file-converter-tool .mov-dropzone.mov-drag-over {
  outline: none;
  border-color: #69ffd9;
  background: rgba(105, 255, 217, 0.12);
  box-shadow: 0 0 32px rgba(105, 255, 217, 0.28);
}

.mov-file-converter-tool .mov-file-input {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.mov-file-converter-tool .mov-dropzone-empty,
.mov-file-converter-tool .mov-file-details {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.mov-file-converter-tool .mov-dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.mov-file-converter-tool .mov-upload-icon,
.mov-file-converter-tool .mov-result-icon {
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  color: #06111d;
  background: linear-gradient(135deg, #69ffd9, #8cb7ff);
  box-shadow: 0 12px 32px rgba(105, 255, 217, 0.25);
}

.mov-file-converter-tool .mov-upload-text,
.mov-file-converter-tool .mov-file-name,
.mov-file-converter-tool .mov-result-message,
.mov-file-converter-tool .mov-status-title,
.mov-file-converter-tool .mov-status-text,
.mov-file-converter-tool .mov-stat-label,
.mov-file-converter-tool .mov-stat-value,
.mov-file-converter-tool .mov-quality-value,
.mov-file-converter-tool .mov-selected-format,
.mov-file-converter-tool .mov-dropdown-arrow {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.mov-file-converter-tool .mov-upload-text {
  display: block;
  width: 100%;
  font-size: 1rem;
  color: #eafcff;
}

.mov-file-converter-tool .mov-file-details {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.mov-file-converter-tool .mov-dropzone.mov-has-file .mov-dropzone-empty {
  display: none;
}

.mov-file-converter-tool .mov-dropzone.mov-has-file .mov-file-details {
  display: flex;
}

.mov-file-converter-tool .mov-file-name {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.mov-file-converter-tool .mov-stat-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mov-file-converter-tool .mov-stat-box {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mov-file-converter-tool .mov-stat-label {
  width: 100%;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9feee0;
  text-transform: uppercase;
}

.mov-file-converter-tool .mov-stat-value {
  width: 100%;
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.mov-file-converter-tool .mov-control-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mov-file-converter-tool .mov-custom-dropdown {
  width: 100%;
  position: relative;
}

.mov-file-converter-tool .mov-dropdown-button,
.mov-file-converter-tool .mov-convert-button,
.mov-file-converter-tool .mov-clear-button,
.mov-file-converter-tool .mov-download-button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mov-file-converter-tool .mov-dropdown-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.mov-file-converter-tool .mov-dropdown-button:focus-visible,
.mov-file-converter-tool .mov-convert-button:focus-visible,
.mov-file-converter-tool .mov-clear-button:focus-visible,
.mov-file-converter-tool .mov-download-button:focus-visible,
.mov-file-converter-tool .mov-quality-range:focus-visible {
  outline: 3px solid rgba(105, 255, 217, 0.9);
  outline-offset: 3px;
}

.mov-file-converter-tool .mov-dropdown-list {
  width: 100%;
  min-width: 0;
  max-height: 240px;
  overflow-y: auto;
  margin: 8px 0 0 0;
  padding: 8px;
  border-radius: 12px;
  background: #071523;
  border: 1px solid rgba(105, 255, 217, 0.35);
  box-shadow: 0 24px 32px rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.mov-file-converter-tool .mov-custom-dropdown.mov-open .mov-dropdown-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mov-file-converter-tool .mov-dropdown-option {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.mov-file-converter-tool .mov-dropdown-option:hover,
.mov-file-converter-tool .mov-dropdown-option:focus-visible,
.mov-file-converter-tool .mov-dropdown-option[aria-selected="true"] {
  outline: none;
  color: #04131f;
  background: #69ffd9;
}

.mov-file-converter-tool .mov-quality-range {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.4;
  accent-color: #69ffd9;
}

.mov-file-converter-tool .mov-quality-note {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #d9f2f2;
}

.mov-file-converter-tool .mov-button-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mov-file-converter-tool .mov-convert-button {
  border: 1px solid rgba(105, 255, 217, 0.45);
  color: #04131f;
  background: linear-gradient(135deg, #69ffd9, #8cb7ff);
  box-shadow: 0 12px 24px rgba(105, 255, 217, 0.25);
}

.mov-file-converter-tool .mov-clear-button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.mov-file-converter-tool .mov-convert-button:hover,
.mov-file-converter-tool .mov-clear-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(105, 255, 217, 0.22);
}

.mov-file-converter-tool .mov-result-content {
  width: 100%;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mov-file-converter-tool .mov-result-empty {
  width: 100%;
  min-height: 220px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.mov-file-converter-tool .mov-result-message {
  width: 100%;
  display: block;
  font-size: 1rem;
  color: #eafcff;
}

.mov-file-converter-tool .mov-result-active {
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: movFadeIn 220ms ease both;
}

.mov-file-converter-tool .mov-result-panel.mov-has-result .mov-result-empty {
  display: none;
}

.mov-file-converter-tool .mov-result-panel.mov-has-result .mov-result-active {
  display: flex;
}

.mov-file-converter-tool .mov-status-box {
  width: 100%;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 102, 0.5);
  background: rgba(255, 212, 102, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mov-file-converter-tool .mov-status-title {
  width: 100%;
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffe59a;
}

.mov-file-converter-tool .mov-status-text {
  width: 100%;
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  color: #fff8df;
}

.mov-file-converter-tool .mov-download-area {
  width: 100%;
  min-width: 0;
  margin: auto 0 0 0;
  padding: 0;
  display: flex;
}

.mov-file-converter-tool .mov-download-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.08);
}

.mov-file-converter-tool .mov-download-button:disabled,
.mov-file-converter-tool .mov-download-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

@keyframes movFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .mov-file-converter-tool {
    padding: 24px 8px;
  }
  .mov-file-converter-tool .mov-tool-container {
    width: 100%;
    padding: 8px;
  }
  .mov-file-converter-tool .mov-tool-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }
  .mov-file-converter-tool .mov-tool-subtitle {
    font-size: 0.9rem;
  }
  .mov-file-converter-tool .mov-tool-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .mov-file-converter-tool .mov-panel {
    padding: 16px;
  }
  .mov-file-converter-tool .mov-dropzone,
  .mov-file-converter-tool .mov-result-empty {
    min-height: 200px;
    padding: 16px;
  }
  .mov-file-converter-tool .mov-button-row {
    grid-template-columns: 1fr;
  }
  .mov-file-converter-tool .mov-dropdown-button,
  .mov-file-converter-tool .mov-convert-button,
  .mov-file-converter-tool .mov-clear-button,
  .mov-file-converter-tool .mov-download-button {
    min-height: 48px;
    font-size: 0.95rem;
  }
  .mov-file-converter-tool .mov-status-box,
  .mov-file-converter-tool .mov-stat-box {
    padding: 12px;
  }
  .mov-file-converter-tool .mov-input-panel,
  .mov-file-converter-tool .mov-result-panel {
    gap: 16px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .mov-file-converter-tool {
    padding: 24px 12px;
  }
  .mov-file-converter-tool .mov-tool-container {
    width: 100%;
    padding: 12px;
  }
  .mov-file-converter-tool .mov-tool-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }
  .mov-file-converter-tool .mov-tool-subtitle {
    font-size: 0.95rem;
  }
  .mov-file-converter-tool .mov-tool-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .mov-file-converter-tool .mov-panel {
    padding: 16px;
  }
  .mov-file-converter-tool .mov-dropzone,
  .mov-file-converter-tool .mov-result-empty {
    min-height: 220px;
    padding: 16px;
  }
  .mov-file-converter-tool .mov-button-row {
    grid-template-columns: 1fr;
  }
  .mov-file-converter-tool .mov-dropdown-button,
  .mov-file-converter-tool .mov-convert-button,
  .mov-file-converter-tool .mov-clear-button,
  .mov-file-converter-tool .mov-download-button {
    min-height: 52px;
    font-size: 1rem;
  }
  .mov-file-converter-tool .mov-status-box,
  .mov-file-converter-tool .mov-stat-box {
    padding: 12px;
  }
  .mov-file-converter-tool .mov-input-panel,
  .mov-file-converter-tool .mov-result-panel {
    gap: 16px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .mov-file-converter-tool {
    padding: 32px 16px;
  }
  .mov-file-converter-tool .mov-tool-container {
    width: 100%;
    padding: 16px;
  }
  .mov-file-converter-tool .mov-tool-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }
  .mov-file-converter-tool .mov-tool-subtitle {
    font-size: 1rem;
  }
  .mov-file-converter-tool .mov-tool-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .mov-file-converter-tool .mov-panel {
    padding: 24px;
  }
  .mov-file-converter-tool .mov-dropzone,
  .mov-file-converter-tool .mov-result-empty {
    min-height: 240px;
    padding: 24px;
  }
  .mov-file-converter-tool .mov-button-row {
    grid-template-columns: 1fr 1fr;
  }
  .mov-file-converter-tool .mov-dropdown-button,
  .mov-file-converter-tool .mov-convert-button,
  .mov-file-converter-tool .mov-clear-button,
  .mov-file-converter-tool .mov-download-button {
    min-height: 52px;
    font-size: 1rem;
  }
  .mov-file-converter-tool .mov-status-box,
  .mov-file-converter-tool .mov-stat-box {
    padding: 16px;
  }
  .mov-file-converter-tool .mov-input-panel,
  .mov-file-converter-tool .mov-result-panel {
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mov-file-converter-tool {
    padding: 32px 24px;
  }
  .mov-file-converter-tool .mov-tool-container {
    width: 100%;
    padding: 24px;
  }
  .mov-file-converter-tool .mov-tool-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }
  .mov-file-converter-tool .mov-tool-subtitle {
    font-size: 1.05rem;
  }
  .mov-file-converter-tool .mov-tool-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .mov-file-converter-tool .mov-panel {
    padding: 24px;
  }
  .mov-file-converter-tool .mov-dropzone,
  .mov-file-converter-tool .mov-result-empty {
    min-height: 260px;
    padding: 24px;
  }
  .mov-file-converter-tool .mov-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mov-file-converter-tool .mov-button-row {
    grid-template-columns: 1fr 1fr;
  }
  .mov-file-converter-tool .mov-dropdown-button,
  .mov-file-converter-tool .mov-convert-button,
  .mov-file-converter-tool .mov-clear-button,
  .mov-file-converter-tool .mov-download-button {
    min-height: 56px;
    font-size: 1rem;
  }
  .mov-file-converter-tool .mov-status-box,
  .mov-file-converter-tool .mov-stat-box {
    padding: 16px;
  }
  .mov-file-converter-tool .mov-input-panel,
  .mov-file-converter-tool .mov-result-panel {
    gap: 16px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .mov-file-converter-tool {
    padding: 32px 24px;
  }
  .mov-file-converter-tool .mov-tool-container {
    width: 100%;
    padding: 32px;
  }
  .mov-file-converter-tool .mov-tool-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }
  .mov-file-converter-tool .mov-tool-subtitle {
    font-size: 1.08rem;
  }
  .mov-file-converter-tool .mov-tool-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
    align-items: stretch;
  }
  .mov-file-converter-tool .mov-panel {
    padding: 24px;
  }
  .mov-file-converter-tool .mov-dropzone,
  .mov-file-converter-tool .mov-result-empty {
    min-height: 280px;
    padding: 24px;
  }
  .mov-file-converter-tool .mov-stat-grid {
    grid-template-columns: 1fr;
  }
  .mov-file-converter-tool .mov-button-row {
    grid-template-columns: 1fr 1fr;
  }
  .mov-file-converter-tool .mov-dropdown-button,
  .mov-file-converter-tool .mov-convert-button,
  .mov-file-converter-tool .mov-clear-button,
  .mov-file-converter-tool .mov-download-button {
    min-height: 56px;
    font-size: 1rem;
  }
  .mov-file-converter-tool .mov-status-box,
  .mov-file-converter-tool .mov-stat-box {
    padding: 16px;
  }
  .mov-file-converter-tool .mov-input-panel,
  .mov-file-converter-tool .mov-result-panel {
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .mov-file-converter-tool {
    padding: 32px;
  }
  .mov-file-converter-tool .mov-tool-container {
    width: 100%;
    padding: 32px;
  }
  .mov-file-converter-tool .mov-tool-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }
  .mov-file-converter-tool .mov-tool-subtitle {
    font-size: 1.1rem;
  }
  .mov-file-converter-tool .mov-tool-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    margin-top: 32px;
    align-items: stretch;
  }
  .mov-file-converter-tool .mov-panel {
    padding: 32px;
  }
  .mov-file-converter-tool .mov-dropzone,
  .mov-file-converter-tool .mov-result-empty {
    min-height: 300px;
    padding: 32px;
  }
  .mov-file-converter-tool .mov-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mov-file-converter-tool .mov-result-stats {
    grid-template-columns: 1fr;
  }
  .mov-file-converter-tool .mov-button-row {
    grid-template-columns: 1fr 1fr;
  }
  .mov-file-converter-tool .mov-dropdown-button,
  .mov-file-converter-tool .mov-convert-button,
  .mov-file-converter-tool .mov-clear-button,
  .mov-file-converter-tool .mov-download-button {
    min-height: 56px;
    font-size: 1rem;
  }
  .mov-file-converter-tool .mov-status-box,
  .mov-file-converter-tool .mov-stat-box {
    padding: 16px;
  }
  .mov-file-converter-tool .mov-input-panel,
  .mov-file-converter-tool .mov-result-panel {
    gap: 16px;
  }
}