﻿html,
body {
  height: 100%;
  overflow-y: auto;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  flex: 1;
}
.breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
  align-self: flex-start;
  max-width: 900px;
  width: 100%;
}
.breadcrumb a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb a:hover {
  color: var(--color-accent-secondary);
}
.settings-layout {
  display: flex;
  gap: var(--spacing-2xl);
  width: 100%;
  max-width: 900px;
}
.sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.sidebar-item {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.sidebar-item:hover {
  background: rgba(255, 0, 122, 0.05);
  color: var(--color-text-primary);
}
.sidebar-item.active {
  background: rgba(255, 0, 122, 0.08);
  color: var(--color-accent-primary);
  border-color: rgba(255, 0, 122, 0.2);
  font-weight: var(--font-weight-semibold);
}
.content-area {
  flex: 1;
  min-width: 0;
}
.section {
  background: rgba(22, 22, 31, 0.6);
  border: 1px solid rgba(255, 0, 122, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 122, 0.2),
    transparent
  );
}
.section h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 0, 122, 0.06);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.info-row:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--color-text-muted);
}
.info-value {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}
.info-action {
  color: var(--color-accent-primary);
  cursor: pointer;
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.info-action:hover {
  color: var(--color-accent-secondary);
}
.avatar-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-bg-tertiary);
  cursor: pointer;
}
.avatar-preview-default {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
  border: 3px solid var(--color-border);
  cursor: pointer;
}
.banner-preview-wrapper {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-tertiary);
  border: 2px dashed var(--color-border);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.banner-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-preview-default {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.upload-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.upload-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 0, 122, 0.4);
}
.upload-btn input[type="file"] {
  display: none;
}
.remove-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--color-error);
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid var(--color-error);
  border-radius: var(--radius-full);
  cursor: pointer;
}
.remove-btn:hover {
  background: var(--color-error) 22;
}
.msg {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  min-height: 1rem;
}
.msg.error {
  color: var(--color-error);
}
.msg.success {
  color: var(--color-success);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 0.9rem;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent-secondary);
}
.form-group textarea {
  resize: vertical;
  min-height: 60px;
}
.btn-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.btn-primary {
  padding: 0.6rem 1.5rem;
  background: var(--color-accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: 0 4px 15px rgba(255, 0, 122, 0.3);
}
.btn-secondary {
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: #b0b8c8;
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--color-accent-secondary);
  color: var(--color-accent-secondary);
}
.upgrade-card {
  background: linear-gradient(135deg, var(--color-bg-tertiary), #2a1a3e);
  border: 1px solid #c084fc44;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.upgrade-card .plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 0.3rem;
}
.upgrade-card .plan-price {
  font-size: 0.9rem;
  color: #b0b8c8;
  margin-bottom: 1rem;
}
.upgrade-card .payment-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.upgrade-card select {
  padding: 0.5rem 0.8rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 0.85rem;
}
.btn-gift {
  padding: 0.5rem 1.2rem;
  background: transparent;
  color: #c084fc;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid #c084fc;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.btn-gift:hover {
  background: #c084fc22;
}
.tech-upgrade-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 2rem 1.5rem;
  background: linear-gradient(
    160deg,
    #0d0d1a 0%,
    #1a0a2e 50%,
    #0d0d1a 100%
  );
  border: 1px solid rgba(192, 132, 252, 0.15);
}
.tech-upgrade-wrap::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(192, 132, 252, 0.03),
    transparent,
    rgba(255, 0, 122, 0.03),
    transparent
  );
  animation: techRotate 20s linear infinite;
  z-index: 0;
}
@keyframes techRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.tech-upgrade-wrap > * {
  position: relative;
  z-index: 1;
}
.tech-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.tech-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c084fc, #ff007a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.3);
}
.tech-header-text h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.03em;
}
.tech-header-text p {
  font-size: 0.8rem;
  color: rgba(192, 132, 252, 0.7);
  margin: 0.2rem 0 0;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.tech-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(192, 132, 252, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: all 0.3s ease;
  cursor: default;
}
.tech-card:hover {
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.05);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.08);
}
.tech-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.tech-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 0.3rem;
}
.tech-card-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.tech-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(192, 132, 252, 0.06);
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.tech-price-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.tech-price-value {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, #ff007a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tech-price-unit {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
  -webkit-text-fill-color: var(--color-text-muted);
}
.tech-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.tech-actions .cf-turnstile {
  flex-shrink: 0;
}
.cf-turnstile {
  display: flex;
  justify-content: flex-start;
  margin: 0.5rem 0;
  transform: scale(0.85);
  transform-origin: left center;
}
.section .cf-turnstile {
  margin: 0.4rem 0;
}
.tech-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}
.tech-btn-primary {
  background: linear-gradient(135deg, #c084fc, #ff007a);
  color: #fff;
  box-shadow: 0 4px 15px rgba(192, 132, 252, 0.25);
}
.tech-btn-primary:hover {
  box-shadow: 0 6px 25px rgba(192, 132, 252, 0.4);
  transform: translateY(-2px);
}
.tech-btn-outline {
  background: transparent;
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.4);
}
.tech-btn-outline:hover {
  background: rgba(192, 132, 252, 0.1);
  border-color: #c084fc;
}
.tech-balance-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 214, 143, 0.06);
  border: 1px solid rgba(0, 214, 143, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.82rem;
}
.tech-balance-bar .bal-label {
  color: var(--color-text-muted);
}
.tech-balance-bar .bal-value {
  color: #00d68f;
  font-weight: 700;
}
.tech-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 132, 252, 0.2),
    transparent
  );
  margin: 1.5rem 0;
}
.tech-activate-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 0.5rem;
}
.tech-activate-section p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}
.tech-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.tech-input-row input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 1px;
}
.tech-input-row input:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.15);
}
.tech-input-row button {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #c084fc, #ff007a);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.tech-input-row button:hover {
  box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
}
.gift-modal-tech {
  text-align: left;
}
.gift-modal-tech .gift-field {
  margin-bottom: 1rem;
}
.gift-modal-tech .gift-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.gift-modal-tech .gift-field input[type="text"] {
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 0.85rem;
  box-sizing: border-box;
}
.gift-modal-tech .gift-field input[type="text"]:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.15);
}
.gift-modal-tech .gift-field .gift-preview {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(192, 132, 252, 0.06);
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: var(--radius-md);
}
.gift-modal-tech .gift-field .gift-preview-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c084fc, #ff007a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.gift-modal-tech .gift-field .gift-preview-text {
  font-size: 0.85rem;
  color: #c084fc;
  font-weight: 600;
}
.gift-modal-tech .gift-field .gift-preview-sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.gift-modal-tech .gift-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.8rem;
}
.gift-modal-tech .gift-checkbox input {
  accent-color: #c084fc;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.data-table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.data-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--color-bg-tertiary);
}
.data-table tr:hover td {
  background: var(--color-bg-tertiary);
}
.status-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-pending {
  background: #ffaa0022;
  color: #ffaa00;
}
.status-approved {
  background: var(--color-success) 22;
  color: var(--color-success);
}
.status-rejected {
  background: var(--color-error) 22;
  color: var(--color-error);
}
.status-resolved {
  background: var(--color-success) 22;
  color: var(--color-success);
}
.toast-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10000;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.8rem 2rem;
  min-width: 300px;
  max-width: 420px;
  text-align: center;
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}
.toast-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.toast-popup-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.toast-popup-icon.success {
  background: rgba(0, 214, 143, 0.12);
  border: 1px solid rgba(0, 214, 143, 0.25);
  color: #00d68f;
}
.toast-popup-icon.error {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.25);
  color: #ff4444;
}
.toast-popup-icon.info {
  background: rgba(255, 0, 122, 0.12);
  border: 1px solid rgba(255, 0, 122, 0.25);
  color: var(--color-accent-secondary);
}
.toast-popup-title {
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
}
.toast-popup-msg {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.toast-popup-btn {
  padding: 0.5rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  background: var(--color-accent-gradient);
  color: #fff;
  transition: all var(--transition-fast);
}
.toast-popup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 122, 0.3);
}
.toast-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.toast-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  width: 90%;
  max-width: 420px;
}
.modal h3 {
  color: var(--color-accent-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.modal .btn-row {
  justify-content: flex-end;
}
.no-access {
  text-align: center;
  color: var(--color-text-muted);
  padding: 4rem 1rem;
}
.no-access a {
  color: var(--color-accent-secondary);
}
.empty-state {
  text-align: center;
  color: var(--color-text-muted);
  padding: 2rem 0;
  font-size: 0.9rem;
}
.login-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.login-history-table th {
  text-align: left;
  padding: 0.5rem;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.login-history-table td {
  padding: 0.5rem;
  border-bottom: 1px solid var(--color-bg-tertiary);
}
@media (max-width: 700px) {
  .settings-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .sidebar-item {
    font-size: 0.82rem;
    padding: 0.5rem 0.8rem;
  }
}
body.in-iframe .logo,
body.in-iframe .breadcrumb {
  display: none;
}
body.in-iframe .page-wrapper {
  padding-top: 1rem;
}
.crop-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crop-modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.crop-modal h3 {
  color: var(--color-text-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.crop-area {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a15;
  border-radius: var(--radius-md);
  cursor: grab;
  margin-bottom: 0.8rem;
  border: 1px solid var(--color-border);
}
.crop-area:active {
  cursor: grabbing;
}
.crop-area img {
  position: absolute;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 0 0;
}
.crop-frame {
  position: absolute;
  border: 2px solid var(--color-accent-secondary);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 2;
}
.crop-toolbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.crop-toolbar button {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.crop-toolbar button:hover {
  background: var(--color-border);
}
.crop-toolbar .zoom-label {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  min-width: 40px;
  text-align: center;
}
.crop-toolbar .zoom-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
  outline: none;
}
.crop-toolbar .zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent-secondary);
  cursor: pointer;
}
.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.crop-actions button {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.crop-cancel {
  background: var(--color-border);
  color: var(--color-text-secondary);
}
.crop-confirm {
  background: var(--color-accent-gradient);
  color: #fff;
}

.footer-main {
  padding: 3rem 0 1.5rem;
  background: rgba(12, 12, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-brand {
  max-width: 300px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 32px;
}
.footer-logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e0e0e8;
}
.footer-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #888;
  transition: all 0.3s ease;
}
.footer-social-link:hover {
  background: #ff007a;
  border-color: #ff007a;
  color: white;
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
}
.footer-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0e0e8;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #ff007a;
}
.footer-bottom {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.footer-copyright {
  font-size: 0.875rem;
  color: #666;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-link {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-legal-link:hover {
  color: #ff007a;
}