/* =========================================
   Módulo CSS: _ui.css (Variáveis, Inputs e Botões - IMVU)
========================================= */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap");

:root {
  /* Base Dark Modern */
  --bg-deep: #050505;
  --bg-surface: #121214;
  --bg-highlight: #1c1c1f;

  /* Textos */
  --text-main: #ffffff;
  --text-muted: #9ca3af;

  /* Cores de Ação (Neon/Cyber) */
  --primary: #00d4ff; /* Azul Neon */
  --accent: #ff6ec7; /* Rosa Neon para descontos */
  --success: #10b981; /* Verde Matrix */

  /* Variáveis de Layout */
  --card-radius: 16px;
  --container-width: 1360px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-deep);
  background-image: radial-gradient(
    circle at 50% 0%,
    #1a1a2e 0%,
    var(--bg-deep) 70%
  );
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
  padding-bottom: 140px;
  min-height: 100vh;
}

/* --- Botões Gerais --- */
.btn-finish {
  background: var(--text-main);
  color: #000;
  border: none;
  padding: 12px 32px;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-finish:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-circular {
  background: #252525;
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-circular:hover {
  transform: scale(1.1);
  background: #333;
}
.btn-replay {
  color: #008c9e;
  border: 1px solid rgba(0, 140, 158, 0.3);
}
.btn-delete {
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.3);
}

.btn-confirmar-principal {
  background: #008c9e;
  color: white;
  border: none;
  padding: 0 30px;
  height: 50px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  flex-grow: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-confirmar-principal:hover {
  background: #00acc1;
  box-shadow: 0 0 20px rgba(0, 140, 158, 0.5);
  transform: scale(1.02);
}

.btn-fechar-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.btn-fechar-modal:hover {
  color: #333;
}
.btn-fechar-modal .material-symbols-outlined {
  font-size: 30px;
}

/* --- Inputs e Formulários --- */
.input-group {
  display: flex;
  align-items: center;
  background-color: #1c1c1e;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  padding: 0 12px;
  margin-bottom: 15px;
}

.input-group:focus-within {
  border-color: #0084ff;
}

.prefixo {
  color: #ffffff;
  font-size: 16px;
  margin-right: 4px;
  user-select: none;
}

.input-transparente {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  padding: 14px 0;
  font-size: 15px;
}

.input-transparente:-webkit-autofill,
.input-transparente:-webkit-autofill:hover,
.input-transparente:-webkit-autofill:focus,
.input-transparente:-webkit-autofill:active {
  transition: background-color 9999s ease-in-out 0s;
  -webkit-text-fill-color: white !important;
}

/* --- Tags e Status --- */
.tag-id {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-family: monospace;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #666;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: line-through;
}

.tag-id.is-active {
  background: rgba(0, 212, 255, 0.15);
  color: var(--primary);
  border: 1px solid var(--primary);
  text-decoration: none;
}

.tag-id:hover {
  filter: brightness(1.2);
}

button.is-loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.5);
  background-color: #ccc;
}
