.navbar {
  width: 100vw;
  height: 64px;
  background: #181c24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  box-shadow: 0 2px 12px rgba(35, 40, 59, 0.08);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.13);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: #2196f3;
  letter-spacing: 0.5px;
}
.navbar .navbar-brand i {
  font-size: 2rem;
  color: #2196f3;
}
.navbar .navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.navbar .navbar-actions .btn {
  padding: 0.65rem 1.7rem;
  border-radius: 0.8rem;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  background: #2196f3;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s, border 0.18s;
  margin: 0 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}
.navbar .navbar-actions .btn.upload,
.navbar .navbar-actions .btn.reset,
.navbar .navbar-actions .btn.export {
  font-size: 0.95rem;
  padding: 0.4em 1.1em;
  min-width: 80px;
  height: 36px;
  border-radius: 6px;
}
.navbar .navbar-actions .btn.upload {
  background: #2563eb;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.navbar .navbar-actions .btn.upload:hover {
  background: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.navbar .navbar-actions .btn.reset {
  background: #ef4444;
  color: #fff;
  border: 2px solid #ef4444;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.navbar .navbar-actions .btn.reset:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.navbar .navbar-actions .btn.export {
  background: #22c55e;
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.12);
}
.navbar .navbar-actions .btn.export:hover {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.18);
}
.navbar .navbar-actions .btn:active {
  transform: scale(0.96);
}

.main-content {
  width: 100vw;
  height: calc(100vh - 64px);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #14161e;
  padding-top: 0;
  padding-bottom: 0;
}

.image-panel {
  flex: 1 1 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  height: 100%;
}

.image-container {
  background: #23232b;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  position: relative;
}
.image-container .placeholder {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0.7;
  z-index: 1;
  color: #aaa;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.image-container .placeholder i {
  font-size: 7rem;
  margin-bottom: 0.3rem;
}
.image-container .placeholder p {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.image-container canvas {
  width: 98%;
  height: 98%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(33, 150, 243, 0.18);
  border-radius: 6px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(33, 150, 243, 0.32);
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar {
  width: 370px;
  max-width: 370px;
  min-width: 320px;
  background: #181c24;
  padding: 10px 0.5rem 0 0;
  border-radius: 0;
  box-shadow: -2px 0 24px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}
.sidebar .sidebar-section {
  padding: 0.7rem 1rem;
}
.sidebar {
  /* Added inner padding for comfortable spacing */
  overflow-y: auto;
  margin-bottom: 2rem;
}
.sidebar .sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2196f3;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.filters .filter {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.filters p {
  font-size: 1rem;
  color: #bfc8e6;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.filters input[type=range] {
  width: 100%;
  accent-color: #2196f3;
  background: transparent;
}
.filters input[type=range]::-webkit-slider-thumb {
  background: #2196f3;
}
.filters input[type=range]::-webkit-slider-runnable-track {
  background: #23283b;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0;
  margin-bottom: 20px;
}
.presets button {
  background: #23283b;
  color: #2196f3;
  border: 1.5px solid #2196f3;
  border-radius: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.presets button:hover {
  background: #2196f3;
  color: #fff;
}
.presets button.active {
  background: #2196f3;
  color: #fff;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .sidebar {
    display: none;
  }
  .image-panel {
    flex: 1 1 100%;
    min-width: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-primary-color);
  color: var(--text-primary-color);
}

main {
  width: 100%;
}
main section {
  width: 100%;
  padding: var(--padding-equal-2xl);
  display: flex;
  gap: var(--gutter-xl);
}
main section .left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter-xl);
  width: 60%;
}
main section .left .top {
  display: flex;
  align-items: center;
  gap: var(--gutter-lg);
}
main section .left .top .btn {
  padding: var(--padding-md);
  border-radius: var(--border-radius-md);
  border: none;
  outline: none;
  color: var(--text-primary-color);
  font-size: var(--font-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
main section .left .top .btn:hover {
  filter: brightness(1.2);
  color: var(--text-secondary-color);
}
main section .left .top .btn:active {
  transform: scale(0.93);
}
main section .left .top .upload {
  background-color: var(--btn-upload);
}
main section .left .top .reset {
  background-color: var(--btn-reset);
}
main section .left .top .download {
  background-color: var(--btn-download);
}
main section .left .bottom {
  position: relative;
  width: 100%;
  padding: var(--padding-equal-2xl);
  border-radius: var(--border-radius-lg);
  aspect-ratio: 7/4.5;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-tertiary-color);
}
main section .left .bottom .placeholder {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gutter-sm);
  flex-direction: column;
  opacity: 0.5;
  z-index: 1;
}
main section .left .bottom .placeholder i {
  font-size: 7rem;
}
main section .left .bottom .placeholder p {
  font-size: var(--font-lg);
}
main section .left .bottom canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  max-width: 90%;
  max-height: 90%;
  -o-object-fit: cover;
     object-fit: cover;
}
main section .right {
  width: 35%;
  background-color: var(--bg-secondary-color);
  padding: var(--padding-lg);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--gutter-lg);
}
main section .right h2 {
  font-size: var(--font-3xl);
  font-weight: 600;
}
main section .right .filters {
  width: 100%;
  display: flex;
  gap: var(--gutter-md);
  flex-direction: column;
}
main section .right .filters p {
  font-size: var(--font-md);
}
main section .right .filters input {
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  transition: all 0.3s ease;
}
main section .right .filters input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--slider-thumb-color);
  margin-top: -7px;
}
main section .right .filters input::-webkit-slider-runnable-track {
  background-color: var(--slider-track-color);
  height: 6px;
  border-radius: var(--border-radius-lg);
}
main section .right .presets {
  display: flex;
  gap: var(--gutter-md);
  flex-wrap: wrap;
}
main section .right .presets button {
  padding: var(--padding-md);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--text-secondary-color);
  outline: none;
  background-color: transparent;
  color: var(--text-secondary-color);
  font-size: var(--font-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
main section .right .presets button:hover {
  filter: brightness(1.2);
  color: var(--text-secondary-color);
}
main section .right .presets button:active {
  transform: scale(0.95);
}/*# sourceMappingURL=style.css.map */