@font-face {
  font-family: 'GeistMono';
  src: url('GeistMono-Bold.woff2') format('woff2'),
       url('GeistMono-Bold.woff') format('woff'),
       url('GeistMono-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GeistMono';
  src: url('GeistMono-Regular.woff2') format('woff2'),
       url('GeistMono-Regular.woff') format('woff'),
       url('GeistMono-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'GeistMono', sans-serif;
  background-color: #000000;
  color: #ffffff;
}

h1, h2, h3, .font-bold {
  font-weight: bold;
  color: #ffffff;
}

.font-medium {
  font-weight: normal;
}

#canvas-container {
  width: 100%;
  height: 600px;
  max-width: 1200px;
  max-height: 800px;
  border: 1px solid #ffffff;
}

#crop-overlay {
  border: 2px dashed #ffffff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.75);
}

/* Controls and panels */
.bg-gray-800, .bg-gray-900 {
  background-color: #1a1a1a;
}

/* Buttons */
button, .btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

button:hover, .btn:hover {
  background-color: #e0e0e0;
}

/* Input fields */
input[type="text"], input[type="number"], select {
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #666666;
}

/* Custom slider styles */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -8px;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  background: #4d4d4d;
  border-radius: 2px;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 4px;
  background: #4d4d4d;
  border-radius: 2px;
}

input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

input[type="range"]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Color picker */
#color-preview {
  border-color: #ffffff;
}

#color-picker:focus + #color-preview {
  border-color: #e0e0e0;
}

#color-hex {
  color: #cccccc;
}

#textColor {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#textColor::-webkit-color-swatch-wrapper {
  padding: 0;
}

#textColor::-webkit-color-swatch {
  border: 2px solid #ffffff;
  border-radius: 4px;
}

#textColor::-moz-color-swatch {
  border: 2px solid #ffffff;
  border-radius: 4px;
}

#textColor:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Status messages */
#status {
  color: #cccccc;
}

/* Footer styles */
.footer-container {
  width: 100%;
  max-width: 96%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .footer-container {
    max-width: 80%;
  }
}

.footer-divider {
  border: 0;
  border-top: 1px solid #333333;
  margin: 2rem 0 1rem;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.footer-column {
  flex: 1;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
  }

  .footer-column {
    flex-basis: 50%;
    margin-bottom: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 1024px) {
  .footer-column {
    flex-basis: 25%;
  }
}

.footer a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #cccccc;
}