* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafafa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  max-width: 1400px;
  width: 100%;
  padding: 40px;
}

h1 {
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 700;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .content {
    grid-template-columns: 1fr;
  }
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.control-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 13px;
}

.upload-area {
  border: 2px dashed #d0d0d0;
  border-radius: 6px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fafafa;
}

.upload-area:hover {
  border-color: #999;
  background: #f5f5f5;
}

.upload-area.active {
  border-color: #333;
  background: #f0f0f0;
}

.upload-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.upload-text {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.upload-text strong {
  color: #333;
}

input[type="file"] {
  display: none;
}

.color-picker-wrapper {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.color-picker-input {
  width: 60px;
  height: 60px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  cursor: pointer;
}

.color-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.color-value-text {
  font-weight: 600;
  color: #1a1a1a;
  font-family: "Courier New", monospace;
  font-size: 14px;
}

.color-value-label {
  font-size: 12px;
  color: #999;
}

.preview-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-title {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 13px;
}

.icons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .icons-grid {
    grid-template-columns: 1fr;
  }
}

.icon-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}

.icon-preview:hover {
  border-color: #ccc;
  background: #efefef;
}

.icon-canvas {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #fff;
}

.icon-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.splash-section {
  margin-top: 10px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.splash-canvas {
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  margin: 15px 0;
}

.splash-info {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.download-btn {
  padding: 11px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn-primary {
  background: #333;
  color: white;
}

.download-btn-primary:hover {
  background: #1a1a1a;
}

.download-btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.download-btn-secondary:hover {
  background: #d0d0d0;
}

.download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.message {
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 10px;
  display: none;
}

.message.show {
  display: block;
}

.message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.message.info {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

.title-app {
  color: rgb(38, 72, 157);
}

.title-elevate {
  color: rgb(0, 168, 194);
}
