/*
 * Estilos para o plugin WeCre Design — Logo Giratória 360°
 * Tema escuro com destaque em vermelho, focado na legibilidade e simplicidade.
 */

/* Reset de box-sizing */
.wecre-spin-wrapper * {
  box-sizing: border-box;
}

/* Contêiner principal */
.wecre-spin-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  background-color: #000000;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 8px;
  border: 1px solid #222222;
}

/* Cabeçalho com logo e títulos */
.wecre-spin-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.wecre-spin-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.wecre-spin-title {
  font-size: 18px;
  font-weight: bold;
}

.wecre-spin-subtitle {
  font-size: 12px;
  color: #bbbbbb;
}

/* Área de conteúdo: preview + controles */
.wecre-spin-content {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

/* Área de visualização */
.wecre-spin-preview {
  flex: 1 1 60%;
  min-width: 300px;
  background-color: #0a0a0a;
  border: 1px dashed #333333;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wecre-spin-canvas {
  width: 100%;
  height: auto;
  display: block;
}

/* Controles */
.wecre-spin-controls {
  flex: 1 1 35%;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wecre-spin-controls label {
  font-size: 12px;
  color: #cccccc;
  margin-bottom: 4px;
}

.wecre-spin-controls input[type="range"] {
  width: 100%;
  accent-color: #ff0000;
}

.wecre-spin-controls span {
  font-size: 12px;
  color: #888888;
}

.wecre-spin-checkbox {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #cccccc;
}

/* Barra inferior: upload e botões */
.wecre-spin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.wecre-spin-file {
  padding: 4px;
  color: #ffffff;
  background-color: #0f0f0f;
  border: 1px solid #333333;
  border-radius: 4px;
}

.wecre-spin-button,
.wecre-spin-download {
  background-color: #ff0000;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wecre-spin-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wecre-spin-button:not(:disabled):hover,
.wecre-spin-download:hover {
  background-color: #e00000;
}

.wecre-spin-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}