
/* Animaciones Globales */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

:root {
  /* Ultra Modern Premium Light Plant Aesthetic */
  --bg-color: #F8FAFC; 
  /* A beautiful soft pastel mesh gradient feeling like a bright greenhouse */
  --bg-gradient: radial-gradient(circle at top right, #E0F2FE 0%, #F0FDF4 50%, #F8FAFC 100%);

  --color-primary: #849671; /* Verde Oliva Claro */
  --color-primary-hover: #96a883; /* Verde Oliva Más Claro */
  
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(30, 36, 24, 0.08); /* Very soft elegant shadow */
  
  --textarea-bg: rgba(255, 255, 255, 0.85);
  --textarea-bg-focus: #ffffff;
  
  --text-main: #3e4a36; /* Verde Oliva Muy Oscuro (Sustituye al negro) */
  --text-muted: #62735b; /* Verde Oliva Suave */
  
  --dot-color: rgba(30, 36, 24, 0.15);
  --beam-color-core: #ff6b00; /* Naranja Corporativo */
  --beam-color-glow: rgba(255, 107, 0, 0.6);
  --font-family: 'Inter', sans-serif;
}

/* Dark Mode Overrides (Studio Night) */
.dark {
  --bg-color: #141810;
  --bg-gradient: radial-gradient(circle at top right, #2d3621 0%, #141810 60%, #0d0f0a 100%);
  --glass-bg: rgba(35, 43, 28, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(30, 36, 24, 0.5);
  --textarea-bg: rgba(45, 54, 33, 0.4);
  --textarea-bg-focus: rgba(45, 54, 33, 0.6);
  --text-main: #e2e9e0; /* Softer Botanical White */
  --text-muted: #a3ad9f;
  --dot-color: rgba(255, 255, 255, 0.1);
  --beam-color-core: #ffffff;
  --beam-color-glow: rgba(162, 217, 206, 0.6);
}

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

html, body {
  overflow-x: hidden;  /* clip no soportado en Safari iOS < 16 */
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-color);
  background-image: radial-gradient(var(--dot-color) 1.5px, transparent 1.5px), var(--bg-gradient);
  background-size: 30px 30px, 100% 100%;
  pointer-events: none;
  transform: translateZ(0);
}

/* Elegant Glass Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 10px 30px -10px rgba(30, 36, 24, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-panel:hover {
  box-shadow: 0 35px 60px -15px rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.3);
}

.glass-button {
  background: rgba(255, 107, 0, 0.05); /* Muy sutil tinte neon */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 107, 0, 0.2);
  color: var(--color-primary);
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.glass-button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.2);
}

.glass-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
 
/* Neon Glass Icon Aesthetic */
.glass-icon-neon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 107, 0, 0.05);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid rgba(255, 107, 0, 0.3);
  box-shadow: 
    0 8px 32px 0 rgba(255, 107, 0, 0.1),
    inset 0 0 10px rgba(255, 107, 0, 0.05);
  color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px;
}

.glass-icon-neon svg {
  filter: drop-shadow(0 0 4px rgba(255, 107, 0, 0.4));
  stroke-width: 2.2px;
}

.glass-icon-neon:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 
    0 12px 40px 0 rgba(255, 107, 0, 0.25),
    inset 0 0 15px rgba(255, 107, 0, 0.15);
}

.dark .glass-icon-neon {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 
    0 8px 32px 0 rgba(30, 36, 24, 0.4),
    0 0 15px rgba(255, 107, 0, 0.2),
    inset 0 0 10px rgba(255, 107, 0, 0.2);
}

.dark .glass-icon-neon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.6));
  color: #fff;
}

/* Neon Glow Aesthetic for Dark Mode - Global Override for Studio Night */
.dark .glass-button {
  background: rgba(255, 107, 0, 0.1) !important; 
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(255, 107, 0, 0.6) !important;
  box-shadow: 
    0 0 20px rgba(255, 107, 0, 0.35), 
    inset 0 0 12px rgba(255, 107, 0, 0.25) !important;
  color: #fff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .glass-button:hover:not(:disabled) {
  background: rgba(255, 107, 0, 0.2) !important;
  border-color: rgba(255, 107, 0, 0.9) !important;
  box-shadow: 
    0 0 30px rgba(255, 107, 0, 0.55), 
    inset 0 0 18px rgba(255, 107, 0, 0.35) !important;
  transform: translateY(-3px) scale(1.05) !important;
}

/* Specific Neon Icon Button (Square like the image) */
.glass-button-neon {
  width: 54px;
  height: 54px;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 1.5rem;
}

/* Botánica IA - Liquid & Frozen Glass Aesthetic (Matching User Image) */
.glass-button-botanica {
  background: linear-gradient(135deg, rgba(235, 247, 242, 0.9), rgba(210, 235, 225, 0.6));
  backdrop-filter: blur(25px) saturate(220%);
  -webkit-backdrop-filter: blur(25px) saturate(220%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #0d3b21;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.1),
    inset 0 0 15px rgba(255, 255, 255, 0.8),
    0 0 0 4px rgba(162, 217, 206, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  padding: 10px 20px;
}

.glass-button-botanica:hover:not(:disabled) {
  background: rgba(162, 217, 206, 0.15); /* Darker/Saturated Mint instead of lighter */
  border-color: rgba(162, 217, 206, 0.5);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.08),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.glass-button-botanica.active {
  background: linear-gradient(135deg, rgba(162, 217, 206, 0.5), rgba(162, 217, 206, 0.2));
  color: #145a32;
  border-color: rgba(162, 217, 206, 1);
  box-shadow: 
    0 10px 25px rgba(162, 217, 206, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.dark .glass-button-botanica {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.dark .glass-button-botanica:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.dark .glass-button-botanica.active {
  background: rgba(162, 217, 206, 0.2);
  color: #a2d9ce;
  border-color: rgba(162, 217, 206, 0.5);
}

/* Premium Botanical Action Buttons (Camera/Gallery) - Techno-Glass Style */
.botanical-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: 
    linear-gradient(135deg, rgba(235, 247, 242, 0.8), rgba(210, 235, 225, 0.5)),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L10 20 L15 15 L25 15 L30 20 L40 20' stroke='rgba(162, 217, 206, 0.8)' fill='none' stroke-width='0.8'/%3E%3Cpath d='M20 0 L20 10 L15 15 L15 25 L20 30 L20 40' stroke='rgba(162, 217, 206, 0.8)' fill='none' stroke-width='0.8'/%3E%3Ccircle cx='15' cy='15' r='1.5' fill='rgba(162, 217, 206, 0.9)'/%3E%3C/svg%3E");
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d3b21;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.12),
    inset 0 0 20px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgba(162, 217, 206, 0.15);
  position: relative;
  overflow: hidden;
}

.botanical-action-btn:hover {
  transform: translateY(-4px) scale(1.1);
  background: rgba(162, 217, 206, 0.2);
  border-color: rgba(162, 217, 206, 1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.4);
  color: #0d3b21;
}

.botanical-action-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.botanical-action-btn:hover::after {
  opacity: 0.4;
}

.botanical-action-btn:active {
  transform: scale(0.88) translateY(2px);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 0 25px rgba(0, 0, 0, 0.15);
  transition: all 0.1s ease;
}

/* Premium AI Neural Animations */
@keyframes ai-orbital {
  0% { transform: rotate(0deg) translateX(22px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: rotate(360deg) translateX(22px) rotate(-360deg); opacity: 0; }
}

@keyframes ai-orbital-mini {
  0% { transform: rotate(0deg) translateX(14px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: rotate(360deg) translateX(14px) rotate(-360deg); opacity: 0; }
}

@keyframes ai-pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(162, 217, 206, 0.2), inset 0 0 10px rgba(162, 217, 206, 0.1); }
  50% { box-shadow: 0 0 30px rgba(162, 217, 206, 0.6), inset 0 0 20px rgba(162, 217, 206, 0.3); }
}

@keyframes scanner-sweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.ai-core-container {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(162, 217, 206, 0.25);
  backdrop-filter: blur(15px) saturate(180%);
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  animation: ai-pulse-glow 4s infinite ease-in-out;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.ai-orbital-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #a2d9ce;
  border-radius: 50%;
  box-shadow: 0 0 12px #a2d9ce, 0 0 20px rgba(162, 217, 206, 0.6);
  z-index: 10;
  pointer-events: none;
  animation: ai-orbital 3s infinite linear;
}

.ai-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(162, 217, 206, 0.2), transparent);
  pointer-events: none;
  animation: scanner-sweep 3s infinite linear;
  z-index: 5;
}

.dark .ai-core-container {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.dark .ai-orbital-dot {
  background: #a2d9ce;
  box-shadow: 0 0 15px #a2d9ce;
}
/* Premium Neural Border Beam - High Intensity Sharp Path */
@keyframes border-beam-accurate {
  0% { top: 0; left: 0; width: 30px; height: 2px; opacity: 1; transform: scale(1); filter: brightness(1.5); }
  25% { top: 0; left: calc(100% - 30px); width: 30px; height: 2px; transform: scale(1); }
  30% { top: 0; left: 100%; width: 2px; height: 30px; transform: scale(1); }
  45% { top: calc(100% - 30px); left: 100%; width: 2px; height: 30px; transform: scale(1); }
  50% { top: 100%; left: calc(100% - 30px); width: 30px; height: 2px; transform: scale(1); }
  70% { top: 100%; left: 0; width: 30px; height: 2px; transform: scale(1); opacity: 1; }
  75% { top: 100%; left: 0; width: 40px; height: 4px; transform: scale(4); filter: blur(12px) brightness(2); opacity: 0.9; }
  80% { top: 100%; left: 0; width: 30px; height: 2px; transform: scale(1); filter: blur(0px) brightness(1.5); opacity: 1; }
  85% { top: calc(100% - 30px); left: 0; width: 2px; height: 30px; transform: scale(1); }
  100% { top: 0; left: 0; width: 2px; height: 30px; transform: scale(1); }
}

.botanical-border-beam-container {
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

.botanical-border-beam {
  position: absolute;
  background: linear-gradient(90deg, transparent, #ffffff, #a2d9ce, #ffffff, transparent);
  box-shadow: 0 0 15px #ffffff, 0 0 5px #a2d9ce;
  animation: border-beam-accurate 10s infinite cubic-bezier(0.4, 0, 0.2, 1);
  top: 0;
  left: 0;
  border-radius: 99px;
  z-index: 20;
}

.botanical-liquid-glass.with-beam {
  position: relative;
  overflow: visible !important;
}


.glass-input {
  width: 100%;
  background: var(--textarea-bg);
  border: 1px solid var(--glass-border);
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--font-family);
  color: var(--text-main);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.glass-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  background: var(--textarea-bg-focus);
}

.glass-input::placeholder {
  color: var(--text-muted);
}

/* User Avatars */
.avatar {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive Grid for Collections */
.plants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 14px;
}

@media (max-width: 600px) {
  .plants-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   SISTEMA DE MODALES — TerritorioCactus
   Soporta modo claro (light) y modo oscuro (dark class en html)
   ============================================================ */

/* Backdrop */
.tc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(30, 36, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: tcBackdropIn 0.2s ease;
}

@keyframes tcBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Caja del modal */
.tc-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 28px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  animation: tcModalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Light Mode */
  background: #ffffff;
  border: 1.5px solid var(--modal-border-color, rgba(239,68,68,0.3));
  box-shadow:
    0 24px 60px rgba(30, 36, 24, 0.15),
    0 0 0 1px rgba(255,255,255,0.6) inset;
}

/* Dark mode override */
.dark .tc-modal-box {
  background: #141810;
  border-color: var(--modal-border-color, rgba(239,68,68,0.4));
  box-shadow:
    0 24px 60px rgba(30, 36, 24, 0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}

@keyframes tcModalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Botón cerrar X */
.tc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(30,36,24,0.06);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4a5c44;
  transition: background 0.2s, color 0.2s;
}
.tc-modal-close:hover {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
}
.dark .tc-modal-close {
  background: rgba(255,255,255,0.07);
  color: #94a3b8;
}
.dark .tc-modal-close:hover {
  background: rgba(239,68,68,0.2);
  color: #ef4444;
}

/* Icono circular */
.tc-modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* Título */
.tc-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
  color: var(--text-main);
}
.dark .tc-modal-title {
  color: var(--text-main);
}

/* Sujeto destacado (nombre planta, usuario...) */
.tc-modal-subject {
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  margin: 0 0 12px;
}

/* Descripción */
.tc-modal-description {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 340px;
}
.dark .tc-modal-description {
  color: #94a3b8;
}

/* Fila de botones */
.tc-modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

/* Botón Cancelar */
.tc-modal-btn-cancel {
  flex: 1;
  padding: 13px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: transparent;
  font-family: var(--font-family);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.tc-modal-btn-cancel:hover {
  background: rgba(0,0,0,0.05);
}
.dark .tc-modal-btn-cancel {
  border-color: rgba(255,255,255,0.12);
  color: var(--text-main);
}
.dark .tc-modal-btn-cancel:hover {
  background: rgba(255,255,255,0.07);
}

/* Botón Confirmar */
.tc-modal-btn-confirm {
  flex: 1;
  padding: 13px 20px;
  border-radius: 14px;
  border: none;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: filter 0.2s, transform 0.15s;
}
.tc-modal-btn-confirm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.tc-modal-btn-confirm:active {
  transform: translateY(0);
}

/* -------- Modales de formulario (PlantForm, AddPhoto, etc.) -------- */
/* El overlay y la caja ya usan tc-modal-backdrop + tc-modal-box */

/* Modal de formulario ampliado (puede tener scroll interno) */
.tc-modal-box.tc-modal-form {
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  text-align: left;
  align-items: flex-start;
  padding: 28px 28px 24px;
  scrollbar-width: thin;
}
.dark .tc-modal-box.tc-modal-form {
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.tc-modal-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.tc-modal-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}
.dark .tc-modal-form-title {
  color: var(--text-main);
}

/* Etiqueta de campos */
.tc-modal-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: #4a5c44;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dark .tc-modal-label {
  color: #94a3b8;
}

/* Botón principal de formulario */
.tc-modal-submit {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: filter 0.2s, transform 0.15s;
}
.tc-modal-submit:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.tc-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Zona de drop de imagen */
.tc-modal-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 160px;
  border: 2px dashed rgba(30,36,24,0.12);
  border-radius: 14px;
  cursor: pointer;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 14px;
}
.tc-modal-dropzone:hover {
  border-color: var(--color-primary);
  background: rgba(255,107,0,0.04);
}
.dark .tc-modal-dropzone {
  border-color: rgba(255,255,255,0.12);
}
.dark .tc-modal-dropzone:hover {
  border-color: var(--color-primary);
  background: rgba(255,107,0,0.08);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

/* ============================================================
   GOOGLE TRANSLATE UI OVERRIDES (Hides ugly widgets)
   ============================================================ */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
  position: relative !important;
}

#google_translate_element {
  display: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd,
.skiptranslate > iframe {
  display: none !important;
  visibility: hidden !important;
}
