@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Funnel Sans", sans-serif;
  line-height: 1.6;
  color: #2f2f2f;
  background: #fafafa;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

::selection {
  background: rgba(47, 47, 47, 0.3);
  color: #2f2f2f;
  border-radius: 4px;
}

::-moz-selection {
  background: rgba(47, 47, 47, 0.3);
  color: #2f2f2f;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (max-width: 576px) {
  .hide-mobile {
    display: none !important;
  }
}

input,
textarea,
select {
  font-size: 16px;
}
@media (max-width: 576px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 0.9375rem;
  }
  button,
  .btn-primary,
  .btn-secondary {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.125rem;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin-bottom: 1rem;
}

.text-muted {
  color: #6e6e6e;
}

.text-center {
  text-align: center;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo .logo-img {
  height: 1.75rem;
  width: auto;
}

.auth-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.usage-counter-wrapper {
  position: relative;
}

.usage-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6e6e6e;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.usage-counter:hover {
  border-color: #e0e0e0;
  background-color: rgba(0, 0, 0, 0.05);
}
.usage-counter svg {
  opacity: 0.7;
}
.usage-counter #remainingIcons {
  color: #2f2f2f;
  font-weight: 600;
}

.usage-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 240px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1001;
}
.usage-dropdown::before, .usage-dropdown::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.usage-dropdown::before {
  bottom: 100%;
  border-bottom: 8px solid #e0e0e0;
}
.usage-dropdown::after {
  bottom: calc(100% - 1px);
  border-bottom: 8px solid #ffffff;
}
.usage-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.usage-dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  background-color: rgba(110, 110, 110, 0.1);
  color: #6e6e6e;
}
.tier-badge.tier-trial {
  background-color: rgba(110, 110, 110, 0.1);
  color: #6e6e6e;
}
.tier-badge.tier-pro {
  background-color: rgba(47, 47, 47, 0.15);
  color: #2f2f2f;
}
.tier-badge.tier-max {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
  color: #a855f7;
}

.usage-dropdown-content {
  padding: 0.75rem 1rem;
}

.usage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.usage-row:not(:last-child) {
  border-bottom: 1px solid rgba(224, 224, 224, 0.5);
}

.usage-label {
  font-size: 0.8125rem;
  color: #6e6e6e;
}

.usage-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2f2f;
}

.usage-total .usage-value {
  color: #2f2f2f;
}

.usage-reset .usage-value {
  font-size: 0.75rem;
  color: #6e6e6e;
}

.usage-note {
  justify-content: center;
}
.usage-note span {
  font-size: 0.75rem;
  color: #6e6e6e;
  font-style: italic;
}

.usage-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2f2f;
  text-decoration: none;
  border-top: 1px solid #e0e0e0;
  transition: background-color 0.15s ease;
}
.usage-dropdown-link:hover {
  background-color: rgba(47, 47, 47, 0.05);
}
.usage-dropdown-link svg {
  transition: transform 0.15s ease;
}
.usage-dropdown-link:hover svg {
  transform: translateX(2px);
}

.user-greeting {
  font-size: 0.9375rem;
  color: #2f2f2f;
  font-weight: 500;
}

.auth-link {
  font-size: 0.9375rem;
  color: #2f2f2f;
  text-decoration: none;
  transition: color 0.15s ease;
  font-weight: 500;
}
.auth-link:hover {
  color: #2f2f2f;
}
.auth-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 3.5rem;
  width: 3.5rem;
  height: calc(100vh - 3.5rem);
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  z-index: 900;
  overflow: hidden;
  transition: width 0.2s ease;
}
.sidebar:hover {
  width: 12rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar-spacer {
  flex: 1;
}
@media (max-width: 576px) {
  .sidebar-spacer {
    display: none;
  }
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  color: #2f2f2f;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sidebar-item svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  stroke-width: 2;
}
.sidebar-item .sidebar-label {
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sidebar-item:hover {
  background-color: #f5f5f5;
  color: #2f2f2f;
}

.sidebar:hover .sidebar-item .sidebar-label {
  opacity: 1;
}

.main-wrapper {
  margin-left: 3.5rem;
  margin-top: 3.5rem;
  min-height: calc(100vh - 3.5rem);
}

.main-content-container {
  padding: 2rem;
  padding-bottom: 8rem;
  max-width: 1100px;
  min-height: calc(100vh - 8rem);
  margin-left: auto;
  margin-right: auto;
}
.help-guide-card {
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.help-guide-card.hidden {
  display: none;
}

.help-guide-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.help-guide-header svg {
  color: #2f2f2f;
  flex-shrink: 0;
}
.help-guide-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0;
}

.help-guide-tips {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.help-tip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tip-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #2f2f2f;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tip-content {
  flex: 1;
}
.tip-content strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.25rem;
}
.tip-content p {
  font-size: 0.875rem;
  color: #555555;
  margin: 0;
  line-height: 1.5;
}

.help-guide-support {
  font-size: 0.875rem;
  color: #6e6e6e;
  margin: 1.5rem 0 1rem 0;
  text-align: left;
}
.help-guide-support a {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 500;
}
.help-guide-support a:hover {
  text-decoration: underline;
}

.help-guide-examples {
  padding-top: 1.5rem;
  border-top: 1px solid #959595;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.examples-header {
  margin-bottom: 0.75rem;
}

.examples-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0;
  margin-bottom: 0.5rem;
}

.btn-shuffle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  color: #6e6e6e;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-shuffle:hover {
  background: #a2a2a2;
  border-color: #2f2f2f;
  color: #2f2f2f;
}
.btn-shuffle svg {
  width: 14px;
  height: 14px;
}

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.example-chip {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  background: #ffffff;
  border: 1px solid #888888;
  border-radius: 1.5rem;
  font-size: 0.8125rem;
  color: #2f2f2f;
  cursor: pointer;
  transition: all 0.15s ease;
}
.example-chip:hover {
  background: #afafaf;
  border-color: #2f2f2f;
  transform: translateY(-1px);
}

.result-card {
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 2rem;
}
.result-card.hidden {
  display: none;
}

.result-content {
  gap: 1rem;
  justify-content: center;
}

.result-image {
  aspect-ratio: 1/1;
  max-width: 512px;
  width: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin: 0 auto;
  background-color: #ececec;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}
.result-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.input-bar-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1.5rem;
  pointer-events: none;
  z-index: 100;
  margin-left: 3.5rem;
}

.input-container {
  pointer-events: auto;
  max-width: 48rem;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #d1d1d1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-container:focus-within {
  border-color: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.input-top {
  width: 100%;
  position: relative;
}

.attachment-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
  height: 2rem;
  white-space: nowrap;
}
.attachment-indicator svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #2f2f2f;
}
.attachment-indicator span {
  font-weight: 500;
}
.attachment-indicator.hidden {
  display: none;
}

.remove-attachment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  color: #6e6e6e;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.remove-attachment-btn:hover {
  background-color: #e8e8e8;
  color: #2f2f2f;
}
.remove-attachment-btn:active {
  transform: scale(0.9);
}
.remove-attachment-btn svg {
  width: 12px;
  height: 12px;
}

.input-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.input-bottom-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.style-dropdown {
  position: relative;
  flex-shrink: 0;
}

.style-dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  color: #2f2f2f;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  height: 2rem;
}
.style-dropdown-button:hover {
  background-color: #ededed;
  border-color: #c7c7c7;
}
.style-dropdown-button:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.style-dropdown-button svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.style-dropdown-button.active svg {
  transform: rotate(180deg);
}

.style-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.25rem);
  transition: all 0.2s ease;
  z-index: 1000;
  min-width: 140px;
}
.style-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.style-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  background: none;
  border: none;
  color: #2f2f2f;
  font-size: 0.875rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.style-dropdown-item:hover {
  background-color: #f5f5f5;
}
.style-dropdown-item.selected {
  background-color: #fafafa;
  font-weight: 500;
}

.style-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-picker {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.color-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0.25rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.color-picker-button:hover {
  background-color: #ededed;
  border-color: #c7c7c7;
}
.color-picker-button:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.color-picker-button.active {
  border-color: #000000;
}

.color-preview {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-picker-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.25rem);
  transition: all 0.2s ease;
  z-index: 1000;
  min-width: 220px;
}
.color-picker-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.color-swatch {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}
.color-swatch:focus {
  outline: none;
  box-shadow: 0 0 0 2px #000000;
}

.color-custom {
  padding-top: 0.5rem;
  border-top: 1px solid #e0e0e0;
}

.custom-color-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d1d1;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: #ffffff;
  color: #2f2f2f;
  font-family: monospace;
  transition: all 0.15s ease;
}
.custom-color-input::placeholder {
  color: #6e6e6e;
}
.custom-color-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.result-actions-right .btn-recolor,
.result-actions-right .btn-thickness,
.result-actions-right .btn-crop-recenter,
.result-actions-right .btn-revert,
.result-actions-right .btn-download-icon,
.result-actions-right .btn-attach {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #2f2f2f;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.result-actions-right .btn-recolor:hover:not(:disabled),
.result-actions-right .btn-thickness:hover:not(:disabled),
.result-actions-right .btn-crop-recenter:hover:not(:disabled),
.result-actions-right .btn-revert:hover:not(:disabled),
.result-actions-right .btn-download-icon:hover:not(:disabled),
.result-actions-right .btn-attach:hover:not(:disabled) {
  background-color: #e8e8e8;
  border-color: #c7c7c7;
}
.result-actions-right .btn-recolor:active:not(:disabled),
.result-actions-right .btn-thickness:active:not(:disabled),
.result-actions-right .btn-crop-recenter:active:not(:disabled),
.result-actions-right .btn-revert:active:not(:disabled),
.result-actions-right .btn-download-icon:active:not(:disabled),
.result-actions-right .btn-attach:active:not(:disabled) {
  transform: scale(0.95);
}
.result-actions-right .btn-recolor.active,
.result-actions-right .btn-thickness.active,
.result-actions-right .btn-crop-recenter.active,
.result-actions-right .btn-revert.active,
.result-actions-right .btn-download-icon.active,
.result-actions-right .btn-attach.active {
  background-color: #959595;
  border-color: #2f2f2f;
  color: #2f2f2f;
}
.result-actions-right .btn-recolor.active:hover,
.result-actions-right .btn-thickness.active:hover,
.result-actions-right .btn-crop-recenter.active:hover,
.result-actions-right .btn-revert.active:hover,
.result-actions-right .btn-download-icon.active:hover,
.result-actions-right .btn-attach.active:hover {
  background-color: #888888;
}
.result-actions-right .btn-recolor:disabled,
.result-actions-right .btn-thickness:disabled,
.result-actions-right .btn-crop-recenter:disabled,
.result-actions-right .btn-revert:disabled,
.result-actions-right .btn-download-icon:disabled,
.result-actions-right .btn-attach:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.result-actions-right .btn-recolor svg,
.result-actions-right .btn-thickness svg,
.result-actions-right .btn-crop-recenter svg,
.result-actions-right .btn-revert svg,
.result-actions-right .btn-download-icon svg,
.result-actions-right .btn-attach svg {
  flex-shrink: 0;
}

.btn-iconify {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #2f2f2f;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.btn-iconify:hover:not(:disabled) {
  background-color: #e8e8e8;
  border-color: #c7c7c7;
}
.btn-iconify:active:not(:disabled) {
  transform: scale(0.95);
}
.btn-iconify.active {
  background-color: #959595;
  border-color: #2f2f2f;
  color: #2f2f2f;
}
.btn-iconify.active:hover {
  background-color: #888888;
}
.btn-iconify:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-iconify svg {
  flex-shrink: 0;
}

.hidden-file-input {
  display: none;
}

.crop-slider-container {
  margin: 1.5rem 0;
}
.crop-slider-container .crop-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.75rem;
}
.crop-slider-container .crop-label #cropValue {
  color: #2f2f2f;
  font-weight: 700;
}
.crop-slider-container .crop-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #f5f5f5;
  outline: none;
  appearance: none;
  margin-bottom: 0.5rem;
}
.crop-slider-container .crop-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2f2f2f;
  cursor: pointer;
  transition: all 0.15s ease;
}
.crop-slider-container .crop-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}
.crop-slider-container .crop-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2f2f2f;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}
.crop-slider-container .crop-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}
.crop-slider-container .crop-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6e6e6e;
  margin-top: 0.375rem;
}

.crop-hint {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #6e6e6e;
  line-height: 1.5;
}

#subject {
  width: 100%;
  border: none;
  background-color: transparent;
  color: #2f2f2f;
  font-size: 0.9375rem;
  font-family: "Funnel Sans", sans-serif;
  resize: none;
  padding: 0 2.5rem 0 0;
  line-height: 1.5;
  min-height: 1.5rem;
  max-height: 200px;
  overflow-y: auto;
}
#subject::placeholder {
  color: #6e6e6e;
}
#subject:focus {
  outline: none;
}
#subject::-webkit-scrollbar {
  width: 6px;
}
#subject::-webkit-scrollbar-track {
  background: transparent;
}
#subject::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 3px;
}
#subject::-webkit-scrollbar-thumb:hover {
  background: #bababa;
}

.btn-send {
  height: 2rem;
  width: 2rem;
  min-width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.5rem;
  background-color: #2f2f2f;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.btn-send:hover:not(:disabled) {
  background-color: #000000;
  transform: scale(1.05);
}
.btn-send:active:not(:disabled) {
  transform: scale(0.95);
}
.btn-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-send svg {
  width: 16px;
  height: 16px;
}

.error-msg {
  position: fixed;
  bottom: 13rem;
  left: calc(50% + 3.5rem);
  transform: translateX(-50%);
  max-width: 48rem;
  width: calc(100% - 2rem);
  background-color: #fee;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #fcc;
  color: #c33;
  font-size: 0.875rem;
  z-index: 101;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: opacity 0.3s ease;
}
.error-msg.hidden {
  display: none;
}
.error-msg.fade-out {
  opacity: 0;
}

.result-actions {
  margin: 0.5em auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  max-width: 512px;
  width: 100%;
}

.result-actions-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-add-library, .btn-add-public-library {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-add-library:hover:not(:disabled), .btn-add-public-library:hover:not(:disabled) {
  background: #000000;
}
.btn-add-library:active:not(:disabled), .btn-add-public-library:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-add-library:disabled, .btn-add-public-library:disabled {
  background: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.5;
}
.btn-add-library svg, .btn-add-public-library svg {
  flex-shrink: 0;
}

.result-actions-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.toast-success {
  position: fixed;
  bottom: 8rem;
  left: calc(50% + 1.75rem);
  transform: translateX(-50%);
  background-color: #10b981;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: slideUp 0.3s ease;
}
.toast-success.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

.toast-error {
  position: fixed;
  bottom: 8rem;
  left: calc(50% + 1.75rem);
  transform: translateX(-50%);
  background-color: #ef4444;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: slideUp 0.3s ease;
}
.toast-error.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}
.recolor-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.recolor-modal.active {
  opacity: 1;
  visibility: visible;
}
.recolor-modal.hidden {
  display: none;
}

.recolor-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.recolor-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-left: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.recolor-modal.active .recolor-modal-content {
  transform: scale(1);
}

.recolor-modal-title {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2f2f2f;
}

.alert-modal-message {
  margin: 0 0 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #2f2f2f;
}

.recolor-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2f2f2f;
}

.recolor-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-cancel,
.btn-apply {
  flex: 1;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}
.btn-cancel:hover,
.btn-apply:hover {
  transform: translateY(-1px);
}
.btn-cancel:active,
.btn-apply:active {
  transform: translateY(0);
}

.btn-cancel {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #2f2f2f;
}
.btn-cancel:hover {
  background-color: #e8e8e8;
  border-color: #c7c7c7;
}

.btn-apply {
  background-color: #2f2f2f;
  color: #ffffff;
}
.btn-apply:hover {
  background-color: #000000;
}
.btn-apply.btn-danger {
  background-color: #e74c3c;
}
.btn-apply.btn-danger:hover {
  background-color: #df2e1b;
}

.thickness-slider-container {
  margin-bottom: 1rem;
}

.thickness-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6e6e6e;
}

.thickness-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #888888 0%, #626262 50%, #2f2f2f 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.thickness-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2f2f2f;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
}
.thickness-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.thickness-slider::-webkit-slider-thumb:active {
  transform: scale(1.05);
}
.thickness-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2f2f2f;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
}
.thickness-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.thickness-slider::-moz-range-thumb:active {
  transform: scale(1.05);
}
.thickness-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
}
.thickness-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
}

.thickness-value {
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.375rem 0.75rem;
  background-color: #f5f5f5;
  border-radius: 0.375rem;
  display: inline-block;
  min-width: 3rem;
  margin-left: 50%;
  transform: translateX(-50%);
}
.thickness-value span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2f2f2f;
  font-family: monospace;
}

.thickness-hint {
  margin: 0.75rem 0 0 0;
  font-size: 0.8125rem;
  color: #6e6e6e;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 540px) {
  .input-bar-fixed {
    padding: 1.5rem 0.75rem 1rem;
  }
  .input-container {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .input-bottom {
    flex-direction: row;
    gap: 0.5rem;
  }
  .style-dropdown-button {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 0.5rem 0.625rem;
  }
  .style-dropdown-menu {
    width: 100%;
  }
  .btn-send {
    flex: 0 0 auto;
    padding: 0.5rem;
  }
  .result-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  .result-actions {
    flex-direction: column;
    width: 100%;
  }
  .help-guide-card {
    display: none;
  }
}
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  background-color: #fafafa;
  margin-left: 0;
  margin-top: 0;
}

.auth-card {
  width: 100%;
  max-width: 28rem;
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e0e0e0;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.auth-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  font-size: 0.9375rem;
  color: #6e6e6e;
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2f2f;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d1d1;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: #2f2f2f;
  background-color: #ffffff;
  transition: all 0.15s ease;
}
.form-input::placeholder {
  color: #6e6e6e;
}
.form-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.form-input.error {
  border-color: #e74c3c;
}
.form-input.success {
  border-color: #27ae60;
}

.form-help {
  font-size: 0.8125rem;
  color: #6e6e6e;
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #e74c3c;
  margin-top: -0.25rem;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-wrapper input {
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e6e6e;
  transition: color 0.15s ease;
}
.toggle-password:hover {
  color: #2f2f2f;
}
.toggle-password.active {
  color: #2f2f2f;
}
.toggle-password .eye-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.password-strength {
  margin-top: 0.5rem;
}

.password-strength-bar {
  width: 100%;
  height: 0.25rem;
  background-color: #e0e0e0;
  border-radius: 0.125rem;
  overflow: hidden;
  margin-bottom: 0.375rem;
}

.password-strength-fill {
  height: 100%;
  width: 0;
  transition: all 0.3s ease;
  border-radius: 0.125rem;
}
.password-strength-fill.weak {
  background-color: #e74c3c;
}
.password-strength-fill.medium {
  background-color: #f39c12;
}
.password-strength-fill.strong {
  background-color: #27ae60;
}

.password-strength-text {
  font-size: 0.8125rem;
  font-weight: 600;
}

.form-message {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-message.error {
  background-color: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}
.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message.hidden {
  display: none;
}

.auth-container .btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.auth-container .btn-primary:hover:not(:disabled) {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.auth-container .btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.auth-container .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth-container .btn-primary .btn-text,
.auth-container .btn-primary .btn-loader {
  display: inline-flex;
  align-items: center;
}
.auth-container .btn-primary .btn-loader.hidden {
  display: none;
}
.auth-container .btn-primary .btn-text.hidden {
  display: none;
}

.spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
}
.auth-footer p {
  font-size: 0.875rem;
  color: #6e6e6e;
}

.auth-link {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.auth-link:hover {
  color: #000000;
  text-decoration: underline;
}

.forgot-password-link {
  font-size: 0.8125rem;
  color: #6e6e6e;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-block;
  margin-top: 0.25rem;
}
.forgot-password-link:hover {
  color: #2f2f2f;
  text-decoration: underline;
}

.verification-code-input {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
  text-align: center;
  padding: 1rem;
}

.terms-agreement {
  font-size: 0.8125rem;
  color: #6e6e6e;
  text-align: center;
  margin: 0.5rem 0;
}
.terms-agreement a {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 500;
}
.terms-agreement a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
  .auth-title {
    font-size: 1.5rem;
  }
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.page-header-left {
  flex: 1;
}

.page-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1rem;
  color: #6e6e6e;
}

.cdn-modal-content {
  max-width: 600px;
  width: 90%;
}

.cdn-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cdn-modal-header svg {
  color: #2f2f2f;
  flex-shrink: 0;
}
.cdn-modal-header .recolor-modal-title {
  flex: 1;
  margin: 0;
}
.cdn-modal-header .modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6e6e6e;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: all 0.15s ease;
}
.cdn-modal-header .modal-close-btn:hover {
  background-color: #f5f5f5;
  color: #2f2f2f;
}

.cdn-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.install-step h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0 0 0.75rem 0;
}

.cdn-code-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
}
.cdn-code-block code {
  flex: 1;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875rem;
  color: #2f2f2f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cdn-code-block code #cdnUrlModal {
  color: #2f2f2f;
  font-weight: 500;
}

.btn-copy-cdn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f2f2f;
  transition: all 0.15s ease;
  padding: 0;
}
.btn-copy-cdn svg {
  width: 16px;
  height: 16px;
}
.btn-copy-cdn:hover {
  background-color: #a2a2a2;
  border-color: #2f2f2f;
  color: #2f2f2f;
}
.btn-copy-cdn:active {
  transform: scale(0.95);
}

.install-instructions {
  padding-left: 1.5rem;
  margin: 0;
}
.install-instructions li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #2f2f2f;
}
.install-instructions li code {
  background: #f5f5f5;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8125rem;
  border: 1px solid #e0e0e0;
  color: #2f2f2f;
}
.install-instructions li:last-child {
  margin-bottom: 0;
}

.install-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  font-size: 0.8125rem;
  color: #2f2f2f;
}
.feature-badge svg {
  width: 14px;
  height: 14px;
  color: #2f2f2f;
  flex-shrink: 0;
}

.cdn-modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  gap: 1rem;
}

.btn-cdn-script {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-cdn-script svg {
  flex-shrink: 0;
}
.btn-cdn-script:hover {
  background-color: #222222;
}
.btn-cdn-script:active {
  transform: scale(0.98);
}

.email-verification-content {
  max-width: 500px;
  width: 90%;
}

.verification-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}
.verification-modal-header svg {
  color: #2f2f2f;
  margin: 0 auto 1rem;
  display: block;
}
.verification-modal-header .recolor-modal-title {
  margin: 0;
  font-size: 1.5rem;
}

.verification-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.verification-message {
  text-align: center;
  color: #2f2f2f;
  line-height: 1.6;
  margin: 0;
}
.verification-message strong {
  color: #2f2f2f;
  font-weight: 600;
}

.verification-code-input {
  display: flex;
  justify-content: center;
}
.verification-code-input input {
  width: 100%;
  max-width: 300px;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5rem;
  font-family: "Courier New", Courier, monospace;
  border: 2px solid #e0e0e0;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
  color: #2f2f2f;
  transition: all 0.2s ease;
}
.verification-code-input input:focus {
  outline: none;
  border-color: #2f2f2f;
  background-color: #ffffff;
}
.verification-code-input input::placeholder {
  color: #6e6e6e;
  opacity: 0.5;
}

.verification-error {
  background-color: #fdf3f2;
  border: 1px solid #e74c3c;
  border-left: 4px solid #e74c3c;
  color: #d62c1a;
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-align: center;
}
.verification-error.hidden {
  display: none;
}

.verification-success {
  background-color: #c8f3da;
  border: 1px solid #27ae60;
  border-left: 4px solid #27ae60;
  color: #19703e;
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-align: center;
}
.verification-success.hidden {
  display: none;
}

.verification-actions {
  display: flex;
  justify-content: center;
}
.verification-actions .btn-verify {
  min-width: 200px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}
.verification-actions .btn-verify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.verification-resend {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}
.verification-resend p {
  margin: 0 0 0.5rem 0;
  color: #6e6e6e;
  font-size: 0.875rem;
}
.verification-resend .btn-link-secondary {
  background: none;
  border: none;
  color: #2f2f2f;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s ease;
}
.verification-resend .btn-link-secondary:hover {
  color: #161616;
}
.verification-resend .btn-link-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.size-toggle-group {
  display: flex;
  gap: 0.25rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.size-toggle {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6e6e6e;
  background-color: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.size-toggle:hover {
  color: #2f2f2f;
  background-color: rgba(47, 47, 47, 0.1);
}
.size-toggle.active {
  color: #ffffff;
  background-color: #2f2f2f;
}

.btn-custom-size {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.btn-custom-size svg {
  width: 14px;
  height: 14px;
}
.btn-custom-size:hover {
  background-color: #1b1b1b;
  transform: translateY(-1px);
}
.btn-custom-size:active {
  transform: translateY(0);
}
.btn-custom-size.hidden {
  display: none;
}

.custom-size-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.custom-size-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2f2f2f;
  flex-shrink: 0;
}

.custom-size-input-field {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: #2f2f2f;
  background-color: #ffffff;
  transition: all 0.15s ease;
}
.custom-size-input-field:focus {
  outline: none;
  border-color: #2f2f2f;
  box-shadow: 0 0 0 2px rgba(47, 47, 47, 0.1);
}

.custom-size-unit {
  font-size: 0.875rem;
  color: #6e6e6e;
  font-weight: 500;
}

.custom-size-preview-text {
  font-size: 0.875rem;
  color: #6e6e6e;
  margin: 1rem 0;
}
.custom-size-preview-text code {
  display: block;
  margin-top: 0.5rem;
  background-color: #f5f5f5;
  padding: 0.625rem 0.875rem;
  border-radius: 0.375rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8125rem;
  color: #2f2f2f;
  border: 1px solid #e0e0e0;
  word-break: break-all;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.library-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
}
.library-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.library-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.library-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2f2f2f;
}

.library-card-count {
  font-size: 0.875rem;
  color: #6e6e6e;
}

.library-card-preview {
  margin-bottom: 1rem;
}

.library-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.library-preview-item {
  aspect-ratio: 1;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
}

.library-card-actions {
  display: flex;
  gap: 0.5rem;
}

.library-card-add {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-style: dashed;
  min-height: 200px;
}
.library-card-add:hover {
  border-color: #2f2f2f;
  background-color: #f5f5f5;
}

.library-add-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #6e6e6e;
}
.library-add-content svg {
  width: 2.5rem;
  height: 2.5rem;
}
.library-add-content span {
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.favorite-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.2s ease;
}
.favorite-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.favorite-icon-container {
  aspect-ratio: 1;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.favorite-icon {
  max-width: 80%;
  max-height: 80%;
}

.favorite-info {
  margin-bottom: 0.75rem;
}

.favorite-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.25rem;
}

.favorite-style {
  font-size: 0.8125rem;
  color: #6e6e6e;
}

.favorite-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #2f2f2f;
}
.btn-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}
.btn-icon:hover {
  background-color: #f5f5f5;
  border-color: #c7c7c7;
}
.btn-icon-danger {
  color: #e74c3c;
}
.btn-icon-danger:hover {
  background-color: #fdecea;
  border-color: #e74c3c;
}

.icon-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.icon-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0;
  text-align: center;
  transition: all 0.15s ease;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.icon-card:hover {
  border-color: #2f2f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.icon-card.hidden {
  display: none;
}
.icon-card.recoloring {
  pointer-events: none;
}

.icon-preview {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: linear-gradient(45deg, #d0d0d0 25%, transparent 25%), linear-gradient(-45deg, #d0d0d0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #d0d0d0 75%), linear-gradient(-45deg, transparent 75%, #d0d0d0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-color: #f5f5f5;
}
.icon-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.icon-preview.loading img {
  opacity: 0.3;
}

.recolor-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  z-index: 10;
}
.recolor-spinner .spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid #e0e0e0;
  border-top-color: #2f2f2f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.icon-name {
  display: block;
  width: 100%;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2f2f2f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.icon-card .icon-info,
.icon-card .icon-actions,
.icon-card .icon-name-wrapper,
.icon-card .icon-code-display {
  display: none;
}

.btn-library-action {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f2f2f;
  transition: all 0.15s ease;
  padding: 0;
}
.btn-library-action svg {
  width: 12px;
  height: 12px;
}
.btn-library-action:hover:not(.loading):not(.success) {
  background-color: #a2a2a2;
  border-color: #2f2f2f;
  color: #2f2f2f;
}
.btn-library-action.loading {
  cursor: wait;
  opacity: 0.7;
}
.btn-library-action.loading .spinner-icon {
  animation: spin 1s linear infinite;
}
.btn-library-action.success {
  background-color: #10B981;
  border-color: #10B981;
  color: #ffffff;
}
.btn-library-action:disabled {
  cursor: not-allowed;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.loading-state,
.error-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: #6e6e6e;
}

.error-state {
  color: #e74c3c;
}

.error-message {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  grid-column: 1/-1;
}
.empty-state svg {
  width: 4rem;
  height: 4rem;
  color: #6e6e6e;
  margin-bottom: 1.5rem;
}
.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 1rem;
  color: #6e6e6e;
  margin-bottom: 0.5rem;
}

.empty-state-hint {
  font-size: 0.9375rem;
}
.empty-state-hint a {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 500;
}
.empty-state-hint a:hover {
  text-decoration: underline;
}

.editing-view {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
}
.editing-view.hidden {
  display: none;
}

.editing-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #2f2f2f;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-back svg {
  flex-shrink: 0;
}
.btn-back:hover {
  background-color: #f5f5f5;
  border-color: #2f2f2f;
}

.editing-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0;
}

.editing-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.editing-left,
.editing-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.editing-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.editing-preview-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.editing-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #d0d0d0 25%, transparent 25%), linear-gradient(-45deg, #d0d0d0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #d0d0d0 75%), linear-gradient(-45deg, transparent 75%, #d0d0d0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-color: #f5f5f5;
  border-radius: 0.75rem;
  padding: 3rem;
  min-height: 300px;
  position: relative;
}
.editing-preview img {
  max-width: 256px;
  max-height: 256px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.editing-preview.loading img {
  opacity: 0.3;
}

.editing-preview-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 0.75rem;
  z-index: 10;
}
.editing-preview-spinner.active {
  display: flex;
}
.editing-preview-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #2f2f2f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.editing-tools-container {
  display: flex;
  flex-direction: column;
}

.editing-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.btn-edit-tool {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #2f2f2f;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-edit-tool svg {
  flex-shrink: 0;
}
.btn-edit-tool:hover:not(:disabled) {
  background-color: #f5f5f5;
  border-color: #2f2f2f;
}
.btn-edit-tool:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-edit-tool.btn-delete:hover:not(:disabled) {
  background-color: #fee;
  border-color: #e74c3c;
  color: #e74c3c;
}

.editing-refinement {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.refinement-textarea {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.refinement-textarea:focus {
  outline: none;
  border-color: #2f2f2f;
  box-shadow: 0 0 0 3px rgba(47, 47, 47, 0.1);
}

.btn-refine {
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-refine:hover:not(:disabled) {
  background-color: #161616;
}
.btn-refine:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.refinement-note {
  font-size: 0.75rem;
  color: #6e6e6e;
  margin: 0;
}

.editing-info {
  display: flex;
  flex-direction: column;
}

.editing-code-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
.editing-code-display code {
  flex: 1;
  font-size: 0.8125rem;
  color: #2f2f2f;
  font-family: "Courier New", Courier, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.editing-code-display button {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f2f2f;
  transition: all 0.15s ease;
  padding: 0;
}
.editing-code-display button:hover {
  background-color: #2f2f2f;
  border-color: #2f2f2f;
  color: #ffffff;
}

.editing-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
}

.editing-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  gap: 0.5rem;
}
.editing-detail-item .detail-label {
  color: #6e6e6e;
  font-weight: 500;
}
.editing-detail-item .detail-value {
  color: #2f2f2f;
  font-weight: 600;
}
.editing-detail-item .btn-edit-name {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #6e6e6e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: color 0.2s, background-color 0.2s;
  margin-left: auto;
}
.editing-detail-item .btn-edit-name:hover {
  color: #2f2f2f;
  background-color: rgba(0, 0, 0, 0.05);
}
.editing-detail-item .btn-edit-name svg {
  width: 14px;
  height: 14px;
}
.editing-detail-item .editing-name-input {
  flex: 1;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
  outline: none;
  max-width: 150px;
}
.editing-detail-item .editing-name-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .editing-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .editing-tools {
    grid-template-columns: 1fr;
  }
}
.settings-section {
  margin-bottom: 2rem;
}

.settings-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-top: 1rem;
}

.settings-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.settings-item:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}
.settings-item-danger h4 {
  color: #e74c3c;
}

.settings-item-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.25rem;
}
.settings-item-info p {
  font-size: 0.875rem;
  color: #6e6e6e;
}

.settings-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 1rem 0;
}

.profile-image-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-image-preview {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-placeholder {
  font-size: 2rem;
  font-weight: 600;
  color: #6e6e6e;
}

.account-overview {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.account-avatar {
  flex-shrink: 0;
}

.avatar-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f2f2f, #090909);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle span {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.account-info {
  flex: 1;
}
.account-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.account-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #f5f5f5;
  color: #2f2f2f;
}
.tier-badge.tier-trial {
  background-color: #e8f4fd;
  color: #2196f3;
}
.tier-badge.tier-pro {
  background-color: #e8f5e9;
  color: #4caf50;
}
.tier-badge.tier-max {
  background-color: #fff3e0;
  color: #ff9800;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #e8f5e9;
  color: #2e7d32;
}
.verified-badge svg {
  width: 12px;
  height: 12px;
}

.unverified-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #fff8e1;
  color: #f9a825;
}

.member-since {
  font-size: 0.875rem;
  color: #6e6e6e;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 0.75rem;
  transition: all 0.15s ease;
}
.stat-item:hover {
  background-color: #f0f0f0;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #2f2f2f;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: #6e6e6e;
}

.danger-title {
  color: #e74c3c;
}

.danger-card {
  border-color: #fde8e5;
  background-color: #fffbfb;
}

.delete-warning {
  background-color: #fef3f2;
  border: 1px solid #fde8e5;
  border-radius: 0.5rem;
  padding: 1rem;
}
.delete-warning p {
  margin: 0 0 0.5rem 0;
  color: #6e6e6e;
}
.delete-warning p strong {
  color: #c0392b;
}
.delete-warning ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #6e6e6e;
}
.delete-warning ul li {
  margin-bottom: 0.25rem;
}

.delete-step.hidden {
  display: none;
}

.btn-secondary,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 2.5rem;
  border: 1px solid transparent;
}
.btn-secondary svg,
.btn-danger svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.btn-secondary:disabled,
.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .account-overview {
    flex-direction: column;
    text-align: center;
  }
  .account-badges {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .settings-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .settings-item button {
    width: 100%;
  }
}
.btn-secondary {
  background-color: #f5f5f5;
  color: #2f2f2f;
  border-color: #e0e0e0;
}
.btn-secondary:hover {
  background-color: #ededed;
  border-color: #c7c7c7;
}

.btn-danger {
  background-color: #e74c3c;
  color: #ffffff;
  border-color: #e74c3c;
}
.btn-danger:hover {
  background-color: #e43725;
  border-color: #e43725;
}

.btn-logout {
  margin: 3rem 0 0;
  padding: 0.75rem 2.5rem;
  background-color: #ffffff;
  color: #6e6e6e;
  border: 1px solid #e0e0e0;
  font-weight: 600;
  width: 100%;
  display: flex;
}
.btn-logout:hover {
  color: #2f2f2f;
  border-color: #6e6e6e;
  background-color: #f5f5f5;
}
.btn-logout svg {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-code-container {
  max-width: 512px;
  width: 100%;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}
.icon-code-container.hidden {
  display: none;
}
.icon-code-container .icon-code-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
.icon-code-container .icon-code-display code {
  flex: 1;
  font-size: 0.8125rem;
  color: #2f2f2f;
  font-family: "Courier New", Courier, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.icon-code-container .btn-copy-code {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f2f2f;
  transition: all 0.15s ease;
  padding: 0;
}
.icon-code-container .btn-copy-code svg {
  width: 1rem;
  height: 1rem;
}
.icon-code-container .btn-copy-code:hover {
  background-color: #2f2f2f;
  border-color: #2f2f2f;
  color: #ffffff;
}

.toast-success {
  position: fixed;
  bottom: 2rem;
  left: calc(50% + 1.75rem);
  transform: translateX(-50%);
  background-color: #10B981;
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.9375rem;
  font-weight: 500;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.toast-success.fade-out {
  opacity: 0;
}

.toast-error {
  position: fixed;
  bottom: 2rem;
  left: calc(50% + 1.75rem);
  transform: translateX(-50%);
  background-color: #EF4444;
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.9375rem;
  font-weight: 500;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.toast-error.fade-out {
  opacity: 0;
}

@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .page-header-right {
    width: 100%;
    flex-wrap: wrap;
  }
  .size-toggle-group {
    flex: 1;
    width: 100%;
  }
  .size-toggle {
    flex: 1;
    text-align: center;
  }
}
.public-icons-page .public-page {
  min-height: 100vh;
  background-color: #fafafa;
  padding-top: 80px;
}
.public-icons-page .public-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}
.filter-controls .style-dropdown-menu {
  bottom: auto;
  top: calc(100% + 0.5rem);
  left: auto;
  right: 0;
}

.search-box {
  width: 200px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: #ffffff;
  color: #2f2f2f;
  transition: all 0.15s ease;
}
.search-box input::placeholder {
  color: #6e6e6e;
}
.search-box input:focus {
  outline: none;
  border-color: #2f2f2f;
  box-shadow: 0 0 0 3px rgba(47, 47, 47, 0.1);
}
.search-box svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #6e6e6e;
  pointer-events: none;
}

.category-tabs {
  display: flex;
  gap: 0.25rem;
  background: #f5f5f5;
  padding: 0.25rem;
  border-radius: 0.5rem;
}

.btn-cdn-script {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-cdn-script:hover {
  background-color: #000000;
}
.btn-cdn-script svg {
  width: 18px;
  height: 18px;
}

.category-tab {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #6e6e6e;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.category-tab:hover {
  color: #2f2f2f;
}
.category-tab.active {
  background: #ffffff;
  color: #2f2f2f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.icon-count {
  color: #6e6e6e;
  font-size: 0.875rem;
  flex: 1;
  text-align: center;
  margin: 0;
}

.icons-loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50vh;
  transition: opacity 0.3s ease;
}
.icons-loading-spinner.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icons-loading-spinner .spinner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.icons-loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(47, 47, 47, 0.15);
  border-top-color: #2f2f2f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.icons-loading-spinner span {
  color: #6e6e6e;
  font-size: 0.875rem;
}

.public-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 3px 3px 3px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 110, 110, 0.3) transparent;
}
.public-icons-grid::-webkit-scrollbar {
  width: 6px;
}
.public-icons-grid::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}
.public-icons-grid::-webkit-scrollbar-thumb {
  background-color: rgba(110, 110, 110, 0.3);
  border-radius: 3px;
  transition: background-color 0.15s ease;
}
.public-icons-grid::-webkit-scrollbar-thumb:hover {
  background-color: rgba(110, 110, 110, 0.5);
}

.public-icon-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  transition: all 0.15s ease;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
}
.public-icon-card:hover {
  border-color: #2f2f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.public-icon-card.hidden {
  display: none;
}

.public-icon-preview {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.public-icon-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.public-icon-name {
  display: block;
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-icon-class {
  display: none;
}

.public-icon-actions {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  display: flex;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.public-icon-actions button {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}
.public-icon-actions button svg {
  width: 10px;
  height: 10px;
}

.public-icon-card:hover .public-icon-actions {
  opacity: 1;
}

.btn-copy-class {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #2f2f2f;
}
.btn-copy-class:hover {
  background-color: #e8e8e8;
}

.btn-save-icon {
  background-color: #2f2f2f;
  border: none;
  color: #ffffff;
}
.btn-save-icon:hover {
  background-color: #000000;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6e6e6e;
}
.empty-state svg {
  color: #e0e0e0;
  margin-bottom: 1rem;
}
.empty-state p {
  margin: 0;
}

.cdn-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.cdn-modal.active {
  display: flex;
}

.public-cdn-modal-content {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cdn-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cdn-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0 !important;
}

.cdn-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6e6e6e;
  padding: 0;
  line-height: 1;
}
.cdn-modal-close:hover {
  color: #2f2f2f;
}

.cdn-code-block {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.cdn-code-block code {
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  color: #2f2f2f;
  word-break: break-all;
}

.cdn-modal-actions {
  display: flex;
  gap: 0.75rem;
}
.cdn-modal-actions button {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy {
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
}
.btn-copy:hover {
  background-color: #000000;
}

.btn-close-modal {
  background-color: #f5f5f5;
  color: #2f2f2f;
  border: 1px solid #e0e0e0;
}
.btn-close-modal:hover {
  background-color: #e8e8e8;
}

.load-more-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 0;
  margin-top: 1rem;
}

.btn-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 180px;
}
.btn-load-more:hover:not(:disabled) {
  background-color: #1b1b1b;
}
.btn-load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-load-more .load-more-spinner {
  display: flex;
  align-items: center;
}
.btn-load-more .load-more-spinner .spinner {
  animation: spin 0.8s linear infinite;
}
.btn-load-more .load-more-spinner.hidden {
  display: none;
}
.btn-load-more .load-more-text.hidden {
  display: none;
}

.load-more-count {
  font-size: 0.8125rem;
  color: #6e6e6e;
}

.style-loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #6e6e6e;
  font-size: 0.875rem;
}
.style-loading-indicator .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top-color: #2f2f2f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.public-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #10B981;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3000;
}
.public-toast.show {
  opacity: 1;
}
.public-toast.error {
  background-color: #EF4444;
}

.public-copy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.public-copy-modal.active {
  display: flex;
}

.public-copy-modal-content {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.public-copy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.public-copy-modal-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2f2f2f;
}
.public-copy-modal-header .modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6e6e6e;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: all 0.15s ease;
}
.public-copy-modal-header .modal-close-btn:hover {
  background-color: #f5f5f5;
  color: #2f2f2f;
}

.public-copy-modal-icon-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
}
.public-copy-modal-icon-preview img {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}

.public-copy-modal-sizes {
  margin-bottom: 1rem;
}
.public-copy-modal-sizes label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}
.public-copy-modal-sizes .size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.public-copy-modal-sizes .size-option {
  padding: 0.5rem;
  text-align: center;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #2f2f2f;
  cursor: pointer;
  transition: all 0.15s ease;
}
.public-copy-modal-sizes .size-option:hover {
  background-color: #a2a2a2;
  border-color: #2f2f2f;
}
.public-copy-modal-sizes .size-option.active {
  background-color: #2f2f2f;
  border-color: #2f2f2f;
  color: #ffffff;
}

.public-copy-modal-code {
  margin-bottom: 1rem;
}
.public-copy-modal-code label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}
.public-copy-modal-code .code-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.public-copy-modal-code .code-display code {
  flex: 1;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8125rem;
  color: #2f2f2f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.public-copy-modal-code .code-display button {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f2f2f;
  transition: all 0.15s ease;
  padding: 0;
}
.public-copy-modal-code .code-display button svg {
  width: 14px;
  height: 14px;
}
.public-copy-modal-code .code-display button:hover {
  background-color: #a2a2a2;
  border-color: #2f2f2f;
  color: #2f2f2f;
}

.public-copy-modal-actions {
  display: flex;
  gap: 0.5rem;
}
.public-copy-modal-actions button, .public-copy-modal-actions a {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.public-copy-modal-actions .btn-save-to-library {
  background-color: #2f2f2f;
  color: #ffffff;
}
.public-copy-modal-actions .btn-save-to-library:hover {
  background-color: #000000;
}
.public-copy-modal-actions .btn-close {
  background-color: #f5f5f5;
  color: #2f2f2f;
  border-color: #e0e0e0;
}
.public-copy-modal-actions .btn-close:hover {
  background-color: #e8e8e8;
}

@media (max-width: 640px) {
  .filter-controls {
    flex-direction: column;
  }
  .search-box {
    width: 100%;
  }
  .icon-count {
    order: 3;
    width: 100%;
  }
  .category-tabs {
    width: 100%;
    justify-content: center;
  }
  .public-icons-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
}
@media (max-width: 1024px) {
  .icon-library-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.375rem;
  }
  .editing-content {
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .editing-preview {
    padding: 2rem;
    min-height: 250px;
  }
  .editing-preview img {
    max-width: 200px;
    max-height: 200px;
  }
}
@media (max-width: 768px) {
  .page-header {
    padding: 0 0.5rem;
  }
  .page-title {
    font-size: 1.5rem;
  }
  .page-subtitle {
    font-size: 0.875rem;
  }
  .icon-library-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .icon-card {
    border-radius: 0.375rem;
  }
  .icon-preview {
    padding: 0.5rem;
  }
  .icon-name {
    font-size: 0.6875rem;
    padding: 0.375rem;
  }
  .editing-view {
    height: auto;
    min-height: calc(100vh - 150px);
  }
  .editing-header {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }
  .btn-back {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
  .btn-back span {
    display: none;
  }
  .editing-title {
    font-size: 1rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .editing-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    overflow-y: visible;
  }
  .editing-preview-container {
    order: 1;
  }
  .editing-preview {
    padding: 1.5rem;
    min-height: 200px;
    border-radius: 0.5rem;
  }
  .editing-preview img {
    max-width: 160px;
    max-height: 160px;
  }
  .editing-tools-container {
    order: 2;
  }
  .editing-tools {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
  }
  .btn-edit-tool {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }
  .btn-edit-tool svg {
    width: 16px;
    height: 16px;
  }
  .editing-left,
  .editing-right {
    gap: 1rem;
  }
  .editing-refinement {
    order: 3;
  }
  .refinement-textarea {
    min-height: 80px;
    padding: 0.75rem;
  }
  .editing-info {
    order: 4;
  }
  .editing-label {
    font-size: 0.8125rem;
  }
  .editing-code-display {
    padding: 0.5rem 0.75rem;
  }
  .editing-code-display code {
    font-size: 0.75rem;
  }
  .editing-code-display button {
    width: 1.75rem;
    height: 1.75rem;
  }
  .editing-details {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .editing-detail-item {
    font-size: 0.8125rem;
  }
  .recolor-modal-content {
    padding: 1.25rem;
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .recolor-modal-title {
    font-size: 1.125rem;
  }
  .color-palette {
    gap: 0.375rem;
  }
  .color-swatch,
  .recolor-swatch {
    width: 2rem;
    height: 2rem;
  }
}
@media (max-width: 480px) {
  .icon-library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
  }
  .icon-preview {
    padding: 0.375rem;
  }
  .icon-name {
    font-size: 0.625rem;
    padding: 0.25rem;
  }
  .page-header {
    margin-bottom: 1rem;
  }
  .page-title {
    font-size: 1.25rem;
  }
  .page-header-right {
    gap: 0.375rem;
  }
  .size-toggle-group {
    padding: 0.125rem;
  }
  .size-toggle {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  .btn-cdn-script {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  .btn-cdn-script span {
    display: none;
  }
  .editing-header {
    padding: 0.5rem 0.75rem;
  }
  .editing-title {
    font-size: 0.9375rem;
  }
  .editing-content {
    padding: 0.75rem;
  }
  .editing-preview {
    padding: 1rem;
    min-height: 160px;
  }
  .editing-preview img {
    max-width: 120px;
    max-height: 120px;
  }
  .editing-tools {
    grid-template-columns: 1fr;
  }
  .btn-edit-tool {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
  }
  .refinement-textarea {
    min-height: 60px;
    font-size: 0.8125rem;
  }
  .btn-refine {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
  .toast-success,
  .toast-error {
    left: 50%;
    max-width: calc(100% - 2rem);
    text-align: center;
  }
  .empty-state {
    padding: 2rem 1rem;
  }
  .empty-state svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }
  .empty-state h3 {
    font-size: 1.25rem;
  }
  .empty-state p {
    font-size: 0.875rem;
  }
}
@media (hover: none) and (pointer: coarse) {
  .icon-library-grid {
    gap: 0.5rem;
  }
  .icon-card {
    min-height: 100px;
  }
  .icon-card:hover {
    transform: none;
  }
  .icon-card:active {
    transform: scale(0.98);
  }
  .btn-edit-tool {
    min-height: 44px;
  }
  .editing-code-display button {
    width: 2.5rem;
    height: 2.5rem;
  }
  .btn-library-action {
    width: 2rem;
    height: 2rem;
  }
}
.landing-page {
  background-color: #fafafa;
  min-height: 100vh;
}
.landing-page .nav-link-icons {
  display: none;
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  padding: 0 1rem;
}

.landing-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 0;
}
.landing-nav-content .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  text-decoration: none;
}
.landing-nav-content .logo .logo-img {
  height: 1.75rem;
  width: auto;
}
.landing-nav-content .nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.landing-nav-content .nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2f2f2f;
  text-decoration: none;
  transition: color 0.15s ease;
}
.landing-nav-content .nav-link:hover {
  color: #000000;
}

.hero {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
  background-color: #ffffff;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 3rem auto 2.5rem;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #2f2f2f 0%, #6e6e6e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #6e6e6e;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.hero-cta .btn-primary,
.hero-cta .btn-secondary {
  width: 180px;
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #2f2f2f;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #ffffff;
  color: #2f2f2f;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-secondary:hover {
  background-color: #f5f5f5;
  border-color: #c7c7c7;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
}

.hero-visual {
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.icon-showcase-wrapper {
  overflow: hidden;
  max-width: 1100px;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.icon-showcase {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.showcase-icon {
  width: 4rem;
  height: 4rem;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.showcase-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #2f2f2f;
}

.features {
  padding: 3rem 0;
  background-color: #fafafa;
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2f2f2f;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: #6e6e6e;
  line-height: 1.5;
  margin: 0;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #2f2f2f;
}

.landing-footer {
  padding: 1.5rem 2rem;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 576px) {
  .footer-content {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2f2f2f;
}
.footer-logo .logo-img {
  height: 1.25rem;
  width: auto;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #6e6e6e;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: #6e6e6e;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: #2f2f2f;
}

.hero-note {
  font-size: 0.875rem;
  color: #6e6e6e;
  margin-top: 0.75rem;
}

.how-it-works {
  padding: 4rem 0;
  background-color: #ffffff;
}

.how-it-works-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6e6e6e;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.step-card {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.75rem;
}
.step-card p {
  font-size: 0.9375rem;
  color: #6e6e6e;
  line-height: 1.6;
  margin: 0;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.pricing-preview {
  padding: 4rem 0;
  background-color: #fafafa;
}

.pricing-preview-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card.featured {
  border-color: #2f2f2f;
  box-shadow: 0 0 0 1px #2f2f2f;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.pricing-card:hover.featured {
  transform: translateY(-4px) scale(1.05);
}
@media (max-width: 768px) {
  .pricing-card:hover.featured {
    transform: translateY(-4px);
  }
}
.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 1rem;
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2f2f2f;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.price {
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f2f2f;
}

.price-period {
  font-size: 1rem;
  color: #6e6e6e;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  font-size: 0.9375rem;
  color: #6e6e6e;
  padding: 0.5rem 0;
  border-top: 1px solid #e0e0e0;
}
.pricing-features li:first-child {
  border-top: none;
  padding-top: 0;
}

.pricing-cta {
  text-align: center;
}

.library-preview {
  padding: 4rem 0;
  background-color: #ffffff;
}

.library-preview-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.library-style-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.style-tab {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6e6e6e;
  cursor: pointer;
  transition: all 0.3s ease;
}
.style-tab:hover {
  border-color: #2f2f2f;
  color: #2f2f2f;
}
.style-tab.active {
  background: #2f2f2f;
  border-color: #2f2f2f;
  color: #fafafa;
}

.library-preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .library-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.library-preview-grid.hidden {
  display: none;
}

.library-icon-preview {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #fafafa 0%, whitesmoke 100%);
  border: 1px solid rgba(224, 224, 224, 0.6);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.library-icon-preview:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #2f2f2f;
  background: #fafafa;
}
.library-icon-preview svg,
.library-icon-preview img {
  width: 55%;
  height: 55%;
  color: #2f2f2f;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.library-icon-preview:hover svg, .library-icon-preview:hover img {
  transform: scale(1.08);
}

.library-no-icons {
  grid-column: 1/-1;
  text-align: center;
  padding: 2rem;
  color: #6e6e6e;
  font-size: 0.875rem;
}

.library-cta {
  text-align: center;
}

.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  text-align: center;
}

.final-cta-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}
.final-cta-container h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .final-cta-container h2 {
    font-size: 1.75rem;
  }
}
.final-cta-container p {
  font-size: 1.125rem;
  color: #6e6e6e;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.product-hunt-badge {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.product-hunt-badge img {
  transition: opacity 0.2s;
}
.product-hunt-badge img:hover {
  opacity: 0.9;
}

.terms-page {
  background-color: #fafafa;
}

.terms-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.terms-content {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  padding: 3rem;
}
@media (max-width: 576px) {
  .terms-content {
    padding: 2rem 1.5rem;
  }
}
.terms-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}
@media (max-width: 576px) {
  .terms-content h1 {
    font-size: 1.5rem;
  }
}

.terms-updated {
  font-size: 0.875rem;
  color: #6e6e6e;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.terms-section {
  margin-bottom: 2rem;
}
.terms-section:last-child {
  margin-bottom: 0;
}
.terms-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.75rem;
}
.terms-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 1rem 0 0.5rem;
}
.terms-section p {
  font-size: 0.9375rem;
  color: #6e6e6e;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.terms-section p:last-child {
  margin-bottom: 0;
}
.terms-section p strong {
  color: #2f2f2f;
  font-weight: 600;
}
.terms-section ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}
.terms-section ul li {
  font-size: 0.9375rem;
  color: #6e6e6e;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.terms-section ul li:last-child {
  margin-bottom: 0;
}
.terms-section a {
  color: #2f2f2f;
  text-decoration: none;
}
.terms-section a:hover {
  text-decoration: underline;
}

.billing-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.billing-header {
  text-align: center;
  margin-bottom: 2rem;
}
.billing-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.billing-subtitle {
  color: #6e6e6e;
  font-size: 1.125rem;
}

.current-plan-card {
  background: linear-gradient(135deg, rgba(47, 47, 47, 0.1), rgba(47, 47, 47, 0.05));
  border: 1px solid rgba(47, 47, 47, 0.2);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}
@media (max-width: 576px) {
  .current-plan-card {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.plan-status {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-label {
  font-size: 0.875rem;
  color: #6e6e6e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f2f2f;
}

.plan-tokens {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.token-count {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2f2f;
}

.token-label {
  color: #6e6e6e;
}

.billing-page .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.billing-page .section-subtitle {
  color: #6e6e6e;
  margin-bottom: 1.5rem;
}

.plans-section {
  margin-bottom: 3rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  border-color: rgba(47, 47, 47, 0.3);
  transform: translateY(-2px);
}
.plan-card.featured {
  border-color: #2f2f2f;
  box-shadow: 0 0 20px rgba(47, 47, 47, 0.15);
}
.plan-card.current {
  border-color: #2f2f2f;
  background: linear-gradient(135deg, rgba(47, 47, 47, 0.05), transparent);
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2f2f2f;
  color: #fafafa;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}
.plan-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.plan-price .price {
  font-size: 2rem;
  font-weight: 700;
  color: #2f2f2f;
}

.plan-price .period {
  color: #6e6e6e;
  font-size: 0.875rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}
.plan-features li {
  padding: 0.5rem 0;
  color: #6e6e6e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.plan-features li::before {
  content: "✓";
  color: #2f2f2f;
  font-weight: bold;
}
.plan-features li strong {
  color: #2f2f2f;
}

.plan-card button {
  width: 100%;
  margin-top: auto;
}

.tokens-section {
  margin-bottom: 3rem;
}

.tokens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .tokens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .tokens-grid {
    grid-template-columns: 1fr;
  }
}

.token-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.token-card:hover {
  border-color: rgba(47, 47, 47, 0.3);
  transform: translateY(-2px);
}
.token-card.featured {
  border-color: #2f2f2f;
  box-shadow: 0 0 20px rgba(47, 47, 47, 0.15);
}

.token-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2f2f2f;
  color: #fafafa;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.token-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1;
}

.token-card .token-label {
  color: #6e6e6e;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.token-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.25rem;
}

.token-per {
  font-size: 0.75rem;
  color: #6e6e6e;
  margin-bottom: 1rem;
}

.token-card button {
  width: 100%;
}

.cancel-section {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #e0e0e0;
  margin-top: 2rem;
}
.cancel-section p {
  color: #6e6e6e;
  margin-bottom: 0.5rem;
}

.btn-text-danger {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}
.btn-text-danger:hover {
  opacity: 0.8;
}

.billing-result-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem;
}
.billing-result-page .billing-result-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  max-width: 400px;
}
.billing-result-page .billing-result-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.billing-result-page .billing-result-card p {
  color: #6e6e6e;
  margin-bottom: 1.5rem;
}
.billing-result-page .billing-result-card.success .billing-result-icon svg {
  stroke: #2f2f2f;
}
.billing-result-page .billing-result-card.cancelled .billing-result-icon svg {
  stroke: #6e6e6e;
}
.billing-result-page .billing-result-icon {
  margin-bottom: 1.5rem;
}
.billing-result-page .billing-result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
@media (max-width: 576px) {
  .billing-result-page .billing-result-actions {
    flex-direction: column;
  }
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.payment-modal.hidden {
  display: none;
}
.payment-modal.active .payment-modal-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.payment-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.payment-modal-content {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: all 0.2s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.payment-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #6e6e6e;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.payment-modal-close:hover {
  background-color: #f5f5f5;
  color: #2f2f2f;
}

.payment-modal-header {
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.payment-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 0.25rem;
}

.payment-modal-subtitle {
  color: #6e6e6e;
  font-size: 0.875rem;
}

.payment-modal-body {
  padding: 1.5rem;
}
.payment-modal-body.hidden {
  display: none;
}

.payment-summary {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.payment-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  color: #6e6e6e;
}

.payment-summary-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 0.75rem 0;
}

.payment-summary-total {
  font-weight: 600;
  color: #2f2f2f;
  font-size: 1rem;
}

.payment-form {
  margin-bottom: 1.5rem;
}

.payment-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2f2f2f;
  margin-bottom: 0.5rem;
}

.card-element {
  background-color: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  transition: all 0.15s ease;
}
.card-element:hover {
  border-color: #b8b8b8;
}
.card-element:focus-within {
  border-color: #2f2f2f;
  box-shadow: 0 0 0 3px rgba(47, 47, 47, 0.1);
}

.card-errors {
  color: #e74c3c;
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

.payment-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}
.payment-submit .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.payment-submit .spinner.hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.payment-terms {
  font-size: 0.75rem;
  color: #6e6e6e;
  text-align: center;
  margin: 1rem 0 0;
}
.payment-terms a {
  color: #2f2f2f;
  text-decoration: none;
}
.payment-terms a:hover {
  text-decoration: underline;
}

.payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #6e6e6e;
}
.payment-secure svg {
  opacity: 0.7;
}

.payment-success {
  padding: 2rem 1.5rem;
  text-align: center;
}
.payment-success.hidden {
  display: none;
}
.payment-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.payment-success p {
  color: #6e6e6e;
  margin-bottom: 1.5rem;
}

.payment-success-icon {
  margin-bottom: 1rem;
}
.payment-success-icon svg {
  stroke: #2f2f2f;
}

.admin-users-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}
@media (max-width: 768px) {
  .admin-users-container {
    padding: 1rem;
  }
}

.page-header {
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .page-header {
    margin-bottom: 1.5rem;
  }
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
  }
}

.page-subtitle {
  font-size: 1rem;
  color: #6e6e6e;
  margin: 0;
}
@media (max-width: 768px) {
  .page-subtitle {
    font-size: 0.875rem;
  }
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .stat-card {
    padding: 1rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stat-label {
    font-size: 0.75rem;
  }
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
}
@media (max-width: 768px) {
  .stat-value {
    font-size: 1.5rem;
  }
}

.users-table-container {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .users-table-container {
    border-radius: 8px;
  }
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
@media (max-width: 768px) {
  .users-table {
    min-width: 400px;
  }
}
.users-table th,
.users-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}
@media (max-width: 768px) {
  .users-table th,
  .users-table td {
    padding: 0.75rem 0.5rem;
  }
}
.users-table th {
  background: #f9f9f9;
  font-weight: 600;
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .users-table th {
    font-size: 0.75rem;
  }
}
.users-table td {
  font-size: 0.875rem;
}
@media (max-width: 768px) {
  .users-table td {
    font-size: 0.8125rem;
  }
}
.users-table td:first-child {
  max-width: 200px;
  word-break: break-word;
}
@media (max-width: 768px) {
  .users-table td:first-child {
    max-width: 150px;
  }
}
.users-table tbody tr:hover {
  background: #f9f9f9;
}
.users-table tbody tr:last-child td {
  border-bottom: none;
}

.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.tier-trial {
  background: #e5e5e5;
  color: #666;
}

.tier-pro {
  background: #dbeafe;
  color: #1e40af;
}

.tier-max {
  background: #fce7f3;
  color: #9f1239;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-action {
  padding: 0.375rem;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-action:hover {
  background: #e5e5e5;
  border-color: #d4d4d4;
}
.btn-action svg {
  color: #666;
}

.btn-action-primary {
  padding: 0.5rem 0.75rem;
  background: #2f2f2f;
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.btn-action-primary:hover {
  background: #000;
}
.btn-action-primary svg {
  color: white;
}
@media (max-width: 768px) {
  .btn-action-primary {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
  .btn-action-primary span {
    display: none;
  }
}

.btn-action-secondary {
  padding: 0.5rem 0.75rem;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #333;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.btn-action-secondary:hover {
  background: #e5e5e5;
  border-color: #d4d4d4;
}
.btn-action-secondary svg {
  color: #666;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .btn-action-secondary {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
}

.user-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 1rem;
}
.detail-row:last-child {
  border-bottom: none;
}
@media (max-width: 480px) {
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.detail-label {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
  flex-shrink: 0;
}

.detail-value {
  font-size: 0.875rem;
  color: #1a1a1a;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}
@media (max-width: 480px) {
  .detail-value {
    text-align: left;
  }
}

.docs-page {
  background-color: #fafafa;
}

.docs-layout {
  display: flex;
  min-height: calc(100vh - 140px);
  padding-top: 76px;
}

.docs-sidebar {
  width: 280px;
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  position: fixed;
  top: 76px;
  left: 0;
  height: calc(100vh - 76px);
  overflow-y: auto;
  z-index: 100;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .docs-sidebar {
    transform: translateX(-100%);
  }
  .docs-sidebar.active {
    transform: translateX(0);
  }
}

.docs-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}
.docs-sidebar-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0;
}

.docs-nav {
  padding: 1rem 0;
}

.docs-nav-section {
  margin-bottom: 1.5rem;
}

.docs-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6e6e6e;
  padding: 0.5rem 1.5rem;
  margin: 0;
}

.docs-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-nav-link {
  display: block;
  padding: 0.5rem 1.5rem;
  color: #2f2f2f;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}
.docs-nav-link:hover {
  background-color: #f5f5f5;
}
.docs-nav-link.active {
  background-color: rgba(47, 47, 47, 0.05);
  border-left-color: #2f2f2f;
  font-weight: 500;
}

.docs-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2f2f2f;
  color: #ffffff;
  border: none;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .docs-sidebar-toggle {
    display: flex;
  }
}
.docs-sidebar-toggle svg {
  width: 24px;
  height: 24px;
}

.docs-main {
  flex: 1;
  margin-left: 280px;
  min-width: 0;
}
@media (max-width: 768px) {
  .docs-main {
    margin-left: 0;
  }
}

.docs-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
@media (max-width: 576px) {
  .docs-content {
    padding: 1.5rem;
  }
}

.docs-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.docs-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f2f2f;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}
@media (max-width: 576px) {
  .docs-title {
    font-size: 2rem;
  }
}

.docs-subtitle {
  font-size: 1.125rem;
  color: #6e6e6e;
  margin: 0;
  line-height: 1.6;
}

.docs-section {
  margin-bottom: 3rem;
  scroll-margin-top: 80px;
}

.docs-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.docs-section-content {
  color: #2f2f2f;
  line-height: 1.7;
}
.docs-section-content p {
  margin: 0 0 1rem 0;
}
.docs-section-content ul, .docs-section-content ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}
.docs-section-content li {
  margin-bottom: 0.5rem;
}

.docs-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.docs-feature-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.docs-feature-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.docs-feature-icon {
  width: 48px;
  height: 48px;
  background-color: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.docs-feature-icon svg {
  width: 24px;
  height: 24px;
  color: #2f2f2f;
}

.docs-feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0 0 0.5rem 0;
}

.docs-feature-desc {
  font-size: 0.875rem;
  color: #6e6e6e;
  margin: 0;
  line-height: 1.5;
}

.docs-code {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  overflow-x: auto;
}
.docs-code code {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875rem;
  color: #2f2f2f;
}

.docs-inline-code {
  background-color: #f5f5f5;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875em;
  color: #2f2f2f;
}

.docs-steps {
  counter-reset: step-counter;
  margin: 1.5rem 0;
}

.docs-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}
.docs-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.docs-step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: #2f2f2f;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.docs-step-content {
  flex: 1;
}
.docs-step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0 0 0.5rem 0;
}
.docs-step-content p {
  font-size: 0.875rem;
  color: #6e6e6e;
  margin: 0;
  line-height: 1.6;
}

.docs-note {
  background-color: rgba(47, 47, 47, 0.05);
  border-left: 4px solid #2f2f2f;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.docs-note p {
  margin: 0;
  font-size: 0.875rem;
  color: #2f2f2f;
}
.docs-note strong {
  color: #2f2f2f;
}

.docs-tip {
  background-color: rgba(39, 174, 96, 0.1);
  border-left-color: #27ae60;
}

.docs-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-left-color: #f59e0b;
}

.docs-image {
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.docs-image img {
  width: 100%;
  height: auto;
  display: block;
}

.docs-image-caption {
  background-color: #f5f5f5;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #6e6e6e;
  text-align: center;
}

.docs-toc {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.docs-toc h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6e6e6e;
  margin: 0 0 1rem 0;
}
.docs-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-toc li {
  margin-bottom: 0.5rem;
}
.docs-toc li:last-child {
  margin-bottom: 0;
}
.docs-toc a {
  color: #2f2f2f;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.docs-toc a:hover {
  color: #2f2f2f;
  text-decoration: underline;
}

.docs-kbd {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.75rem;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.docs-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
}
@media (max-width: 768px) {
  .docs-overlay.active {
    display: block;
  }
}

.docs-page .landing-footer {
  margin-left: 280px;
}
@media (max-width: 768px) {
  .docs-page .landing-footer {
    margin-left: 0;
  }
}

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