/* Comprimir WebP only. Do not share these selectors with the other image compressors. */

body.page-comprimir-webp-online .cwebp-page {
  --cv-aside: clamp(220px, 18vw, 280px);
  align-items: stretch;
}
body.page-comprimir-webp-online .cwebp-page .conv-aside { min-height: 100%; }
body.page-comprimir-webp-online .article .cwebp-page .conv-lede {
  color: #4f63b8;
  font-size: 1.05rem;
}
body.page-comprimir-webp-online .cwebp-page .conv-perks { gap: 16px; }
body.page-comprimir-webp-online .cwebp-page .conv-perks strong { color: #1d4ed8; }
body.page-comprimir-webp-online .cwebp-page .conv-perk { width: 42px; height: 42px; background-size: 22px; }
body.page-comprimir-webp-online .cwebp-page .cwebp-perk.is-quality {
  background-color: #ffe4e6;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e11d48' d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
}
body.page-comprimir-webp-online .cwebp-page .cwebp-perk.is-formats {
  background-color: #f3e8ff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3' fill='%239333ea'/%3E%3Ccircle cx='9' cy='10' r='1.6' fill='%23fff'/%3E%3Cpath fill='%23fff' d='m6 16 4-4 2.2 2.2L16 11l2 5z'/%3E%3C/svg%3E");
}
body.page-comprimir-webp-online .cwebp-page .cwebp-perk.is-easy {
  background-color: #ffedd5;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ea580c' d='M12 8.2A3.8 3.8 0 1 0 12 15.8 3.8 3.8 0 0 0 12 8.2zM12 2l1.2 2.4 2.6.2-2 1.8.6 2.5L12 7.6 9.6 8.9l.6-2.5-2-1.8 2.6-.2zM12 22l-1.2-2.4-2.6-.2 2-1.8-.6-2.5L12 16.4l2.4-1.3-.6 2.5 2 1.8-2.6.2zM4.2 8.2l2.5.4.8 2.4 1.4-2 .1-2.6-2.3 1.1L4 6.4zM19.8 15.8l-2.5-.4-.8-2.4-1.4 2-.1 2.6 2.3-1.1 2.5 1.1z'/%3E%3C/svg%3E");
}
body.page-comprimir-webp-online .cwebp-page .cwebp-perk.is-device {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M12 3v10.2l3.2-3.2 1.4 1.4L12 16.9 7.4 11.4l1.4-1.4 3.2 3.2V3zM5 18h14v2H5z'/%3E%3C/svg%3E");
}
body.page-comprimir-webp-online .cwebp-page .cwebp-perk.is-share {
  background-color: #fef3c7;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d97706' d='M4 6h6l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}
body.page-comprimir-webp-online .article .cwebp-page img.conv-art {
  max-width: 280px;
  margin-top: auto;
}

body.page-comprimir-webp-online .cwebp-page .cimg-app {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.page-comprimir-webp-online .cwebp-page .cimg-app [hidden] { display: none !important; }
body.page-comprimir-webp-online .cwebp-page .itool-success { display: none !important; }
body.page-comprimir-webp-online .cwebp-page .conv-board {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
  gap: 14px;
}
body.page-comprimir-webp-online .cwebp-page .conv-card,
body.page-comprimir-webp-online .cwebp-page .conv-steps {
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.04);
}
body.page-comprimir-webp-online .article .cwebp-page h2.conv-card-title {
  gap: 10px;
  margin: 0 0 14px;
  color: #1d4ed8;
  font-size: 1.15rem;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 0.9rem;
}
body.page-comprimir-webp-online .cwebp-page .conv-steps { padding: 12px 14px; gap: 10px; }
body.page-comprimir-webp-online .cwebp-page .conv-steps li > span:first-child {
  width: 34px;
  height: 34px;
  background: #e8eef8;
  color: #1e3a8a;
  font-size: 0.95rem;
}
body.page-comprimir-webp-online .cwebp-page .conv-steps strong { color: #1d4ed8; font-size: 0.84rem; line-height: 1.2; }
body.page-comprimir-webp-online .cwebp-page .conv-steps small { font-size: 0.68rem; }
body.page-comprimir-webp-online .cwebp-page .conv-steps .is-on > span:first-child,
body.page-comprimir-webp-online .cwebp-page .conv-steps .is-done > span:first-child { color: #fff; }

body.page-comprimir-webp-online .cwebp-page .cimg-drop {
  gap: 6px;
  min-height: 220px;
  margin: 0;
  padding: 22px 16px 16px;
  border: 1.5px dashed #93c5fd;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: none;
}
body.page-comprimir-webp-online .cwebp-page .conv-cloud { width: 72px; height: 72px; background-size: 44px; }
body.page-comprimir-webp-online .cwebp-page .cimg-drop-title {
  margin-top: 6px;
  color: #1e3a8a;
  font-size: 1.15rem;
  font-weight: 800;
}
body.page-comprimir-webp-online .cwebp-page .cimg-drop-hint { max-width: none; color: #64748b; }
body.page-comprimir-webp-online .cwebp-page .cwebp-meta {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 0.78rem;
}
body.page-comprimir-webp-online .cwebp-page .cimg-drop-actions .cimg-btn { min-height: 42px; border-radius: 10px; }
body.page-comprimir-webp-online .cwebp-page .cimg-status:empty,
body.page-comprimir-webp-online .cwebp-page .cimg-status.is-ok,
body.page-comprimir-webp-online .cwebp-page .cimg-status.is-loading { display: none; }
body.page-comprimir-webp-online .cwebp-page .cimg-status.is-error {
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: 0.82rem;
}

body.page-comprimir-webp-online .cwebp-page .cwebp-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-file {
  position: relative;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background: #fff;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-file img {
  display: block;
  width: 100%;
  height: 72px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  object-fit: cover;
  background: #e8eef8;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-file strong,
body.page-comprimir-webp-online .cwebp-page .cwebp-file small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-file strong {
  margin-top: 6px;
  color: #172033;
  font-size: 0.75rem;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-file small { color: #64748b; font-size: 0.72rem; }
body.page-comprimir-webp-online .cwebp-page .cwebp-x {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

body.page-comprimir-webp-online .cwebp-page .cwebp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
body.page-comprimir-webp-online .cwebp-page .cimg-field { margin: 0 0 12px; }
body.page-comprimir-webp-online .cwebp-page .cimg-label {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}
body.page-comprimir-webp-online .cwebp-page .cimg-input,
body.page-comprimir-webp-online .cwebp-page .cimg-select {
  margin-top: 6px;
  border-radius: 10px;
  background: #fff;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-qhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
body.page-comprimir-webp-online .cwebp-page .cimg-value {
  color: #2563eb;
  font-weight: 800;
}
body.page-comprimir-webp-online .cwebp-page .cimg-slider {
  height: 8px;
  margin: 10px 0 4px;
  background: linear-gradient(90deg, #2563eb 0 var(--fill, 78%), #e2e8f0 var(--fill, 78%) 100%);
}
body.page-comprimir-webp-online .cwebp-page .cimg-slider::-webkit-slider-thumb {
  background: #2563eb;
  border: 3px solid #fff;
}
body.page-comprimir-webp-online .cwebp-page .cimg-slider::-moz-range-thumb {
  background: #2563eb;
  border: 3px solid #fff;
}
body.page-comprimir-webp-online .cwebp-page .cimg-hint { color: #64748b; font-size: 0.75rem; }
body.page-comprimir-webp-online .cwebp-page .cwebp-more { margin-top: 2px; }
body.page-comprimir-webp-online .cwebp-page .cwebp-more summary {
  color: #1d4ed8;
  font-weight: 700;
  cursor: pointer;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-more .cimg-field { margin-top: 12px; }
body.page-comprimir-webp-online .cwebp-page .cwebp-again { margin-top: 8px; }

body.page-comprimir-webp-online .cwebp-page .cwebp-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: #f0fdf4;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-banner strong,
body.page-comprimir-webp-online .cwebp-page .cwebp-banner small { display: block; }
body.page-comprimir-webp-online .cwebp-page .cwebp-banner strong { color: #166534; font-size: 0.92rem; }
body.page-comprimir-webp-online .cwebp-page .cwebp-banner small { color: #15803d; font-size: 0.78rem; }
body.page-comprimir-webp-online .cwebp-page .cwebp-banner-ico {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #22c55e url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' d='m6 12.2 3.6 3.6L18 8'/%3E%3C/svg%3E") center / 18px no-repeat;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-table-wrap { overflow-x: auto; }
body.page-comprimir-webp-online .cwebp-page .cwebp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.78rem;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-table th {
  padding: 6px 4px;
  color: #64748b;
  font-weight: 700;
  text-align: left;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-table th:nth-child(1) { width: 42%; }
body.page-comprimir-webp-online .cwebp-page .cwebp-table td {
  padding: 7px 4px;
  border-top: 1px solid #eef2f7;
  color: #172033;
  vertical-align: middle;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-name {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-name img {
  width: 28px;
  height: 22px;
  flex: none;
  margin: 0;
  border: 0;
  border-radius: 4px;
  object-fit: cover;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-name span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-pct {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-pct.is-warn { background: #ffedd5; color: #c2410c; }
body.page-comprimir-webp-online .cwebp-page .cwebp-cmp { cursor: pointer; }
body.page-comprimir-webp-online .cwebp-page .cwebp-empty {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.84rem;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-dl,
body.page-comprimir-webp-online .cwebp-page .cwebp-clear {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border-radius: 12px;
  font-size: 0.98rem;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-dl:not(:disabled),
body.page-comprimir-webp-online .cwebp-page .cwebp-dl:not(:disabled):hover {
  background: #f5b400 !important;
  border-color: #e2a800 !important;
  color: #1f2937 !important;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-clear:not(:disabled),
body.page-comprimir-webp-online .cwebp-page .cwebp-clear:not(:disabled):hover {
  background: #fff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-results { position: relative; }
body.page-comprimir-webp-online .cwebp-page #cimg-compare:not(.is-open) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
body.page-comprimir-webp-online .cwebp-page #cimg-compare.is-open { margin-top: 12px; }
body.page-comprimir-webp-online .cwebp-page .cwebp-open-cmp {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
}

body.page-comprimir-webp-online .cwebp-page .cwebp-sum-ico {
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M4 19h2V9H4zm5 0h2V5H9zm5 0h2v-7h-2zm5 0h2V3h-2z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-stats { display: grid; gap: 8px; margin: 0; }
body.page-comprimir-webp-online .cwebp-page .cwebp-stats div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 0.84rem;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-stats dd {
  margin: 0;
  color: #172033;
  font-weight: 800;
  text-align: right;
}
body.page-comprimir-webp-online .cwebp-page #cimg-stat-saved.is-good { color: #16a34a; }
body.page-comprimir-webp-online .cwebp-page #cimg-stat-saved.is-warn { color: #c2410c; }
body.page-comprimir-webp-online .cwebp-page .cwebp-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 16px;
  background: #fffbeb;
}
body.page-comprimir-webp-online .article .cwebp-page .cwebp-tip p {
  margin: 0;
  color: #3d4658;
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: left;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-tip-ico {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #fef3c7 url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d97706' d='M9 21h6v-2H9zm3-19a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
body.page-comprimir-webp-online .cwebp-page .cwebp-extra { margin-top: 14px; }
body.page-comprimir-webp-online .cwebp-page .cwebp-extra:empty { display: none; }
body.page-comprimir-webp-online .cwebp-engine-list {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  body.page-comprimir-webp-online .cwebp-page .conv-board { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.page-comprimir-webp-online .cwebp-page .cwebp-grid { grid-template-columns: 1fr; }
}

html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .conv-card,
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .conv-steps,
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cwebp-file { background: #0f172a; }
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cimg-drop { background: #0b1220; }
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cimg-input,
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cimg-select { background: #0f172a; color: #e2e8f0; }
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cwebp-table td,
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cwebp-stats dd,
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cwebp-file strong { color: #e2e8f0; }
html[data-theme="dark"] body.page-comprimir-webp-online .cwebp-page .cwebp-tip { background: #2b2410; border-color: #6b5210; }
html[data-theme="dark"] body.page-comprimir-webp-online .article .cwebp-page .cwebp-tip p { color: #fde68a; }
