/* Winter Theme para Instrutor de Carreiras */

/* Variáveis do tema Winter */
.select-winter-elune-daisy {
  /* Cores base */
  --color-base-100: oklch(98% 0.002 247.839); /* Light background for inputs */
  --color-base-200: #fff; /* White background for cards */
  --color-base-300: #f5f5f5; /* Light gray for borders */
  --color-base-content: #333; /* Main text color */

  /* Cores principais */
  --color-primary: #4285f4; /* Primary blue color */
  --color-primary-content: #fff; /* Text on primary color */
  --color-secondary: #8d00ff; /* Secondary purple color */
  --color-secondary-content: #fff; /* Text on secondary color */

  /* Cores de estado */
  --color-info: #4285f4;
  --color-success: oklch(80.494% 0.077 197.823);
  --color-warning: oklch(89.172% 0.045 71.47);
  --color-error: oklch(73.092% 0.11 20.076);

  /* Raios de borda */
  --radius-field: 0.25rem; /* Border radius for form fields */
  --radius-box: 0.25rem; /* Border radius for containers */

  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

  /* Bordas */
  --border-color: #e0e0e0;
  --border: 1px solid var(--border-color);
}

/* Estilos gerais */
.select-winter-elune-daisy {
  font-family: "Mulish", sans-serif;
  font-size: 14px;
  color: var(--color-base-content);
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

.select-winter-elune-daisy *,
.instrutor-carreiras-container * {
  box-sizing: border-box !important;
}

/* Dashboard */
.select-winter-elune-daisy .instrutor-carreiras-dashboard {
  background-color: var(--color-base-200);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-md);
  border: var(--border);
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .dashboard-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff !important;
  border-radius: var(--radius-box) var(--radius-box) 0 0;
  padding: 16px 20px;
}

.select-winter-elune-daisy .dashboard-header h3 {
  margin: 0;
  font-weight: 600;
  color: #fff !important;
}

.select-winter-elune-daisy .dashboard-status {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-field);
  font-size: 0.9em;
}

.select-winter-elune-daisy .status-available .status-indicator {
  background-color: var(--color-success);
  box-shadow: 0 0 5px var(--color-success);
}

.select-winter-elune-daisy .status-unavailable .status-indicator {
  background-color: var(--color-error);
  box-shadow: 0 0 5px var(--color-error);
}

.select-winter-elune-daisy .dashboard-card {
  background-color: var(--color-base-200);
  border: var(--border);
  border-radius: var(--radius-box);
  margin-bottom: 16px;
  flex: 1 1 calc(50% - 15px);
  min-width: 250px;
  width: 100% !important;
}

.select-winter-elune-daisy .card-header {
  background-color: var(--color-base-200);
  border-bottom: var(--border);
  padding: 12px 16px;
}

.select-winter-elune-daisy .card-header i {
  color: var(--color-primary);
}

.select-winter-elune-daisy .card-content {
  padding: 16px;
}

.select-winter-elune-daisy .progress-bar {
  background-color: var(--color-base-100);
  border-radius: var(--radius-field);
  height: 8px;
  overflow: hidden;
}

.select-winter-elune-daisy .progress-fill {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  height: 100%;
}

.select-winter-elune-daisy .remaining-count {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5em;
}

.select-winter-elune-daisy .countdown-value {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5em;
}

.select-winter-elune-daisy .dashboard-alert {
  background-color: var(--color-base-200);
  border-left: 3px solid var(--color-warning);
  padding: 12px 16px;
  margin: 16px 0;
}

.select-winter-elune-daisy .dashboard-alert i {
  color: var(--color-warning);
}

/* Botão com borda animada */
.select-winter-elune-daisy .dashboard-button {
  color: var(--color-base-content);
  background-color: var(--color-base-200);
  padding: 12px 24px;
  border-radius: var(--radius-field);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: none;
  /* Criamos a borda animada com gradiente */
  background-image: linear-gradient(white, white), /* fundo branco */
    linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary)); /* gradiente animado */
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent !important;
  background-size: 300% 100%;
  animation: borderAnimation 6s ease infinite;
}

.select-winter-elune-daisy .dashboard-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mensagens */
.select-winter-elune-daisy .instrutor-carreiras-message {
  border-radius: var(--radius-box);
  background-color: var(--color-base-200);
  padding: 16px;
  margin-bottom: 16px;
}

.select-winter-elune-daisy .instrutor-carreiras-warning {
  background-color: rgba(255, 193, 7, 0.1);
  border-left: 4px solid var(--color-warning);
}

.select-winter-elune-daisy .instrutor-carreiras-info {
  background-color: rgba(66, 133, 244, 0.1);
  border-left: 4px solid var(--color-info);
}

.select-winter-elune-daisy .instrutor-carreiras-success {
  background-color: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--color-success);
}

/* Histórico de testes */
.select-winter-elune-daisy .instrutor-carreiras-history-card {
  background-color: var(--color-base-200);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-md);
  border: var(--border);
  margin-bottom: 24px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .history-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff !important;
  padding: 16px 20px;
  border-radius: var(--radius-box) var(--radius-box) 0 0;
}

.select-winter-elune-daisy .history-card-header h3 {
  margin: 0;
  font-weight: 600;
  color: #fff !important;
}

.select-winter-elune-daisy .history-card-content {
  padding: 20px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .history-card-profile h4,
.select-winter-elune-daisy .history-card-careers h4,
.select-winter-elune-daisy .history-card-courses h4 {
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
}

.select-winter-elune-daisy .history-card-button {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-primary-content);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-field);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-winter-elune-daisy .history-card-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.select-winter-elune-daisy .history-card-button-secondary {
  background: var(--color-base-200);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 12px 24px;
  border-radius: var(--radius-field);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-winter-elune-daisy .history-card-button-secondary:hover {
  background-color: rgba(66, 133, 244, 0.1);
}

.select-winter-elune-daisy .history-card-full-result {
  border-top: var(--border);
  background-color: var(--color-base-200);
  padding: 20px;
}

.select-winter-elune-daisy .full-result-content h3 {
  color: var(--color-primary);
  font-weight: 600;
}

.select-winter-elune-daisy .full-result-content h4 {
  color: var(--color-secondary);
  font-weight: 500;
}

/* Formulário */
.select-winter-elune-daisy .instrutor-carreiras-form {
  background-color: var(--color-base-200);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  width: 100% !important;
  max-width: 100% !important;
}

.select-winter-elune-daisy .form-step {
  background-color: var(--color-base-200);
  width: 100% !important;
}

.select-winter-elune-daisy .step-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-primary-content);
  padding: 16px 20px;
  border-radius: var(--radius-box) var(--radius-box) 0 0;
}

.select-winter-elune-daisy .step-header h3 {
  color: var(--color-primary-content);
  margin: 0;
  font-weight: 600;
}

.select-winter-elune-daisy .step-indicator {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-primary-content);
  padding: 4px 10px;
  border-radius: var(--radius-field);
  font-size: 0.9em;
}

.select-winter-elune-daisy .form-group {
  padding: 16px 20px;
  width: 100% !important;
}

.select-winter-elune-daisy .form-group label {
  color: var(--color-base-content);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.select-winter-elune-daisy .form-group textarea,
.select-winter-elune-daisy .form-group select {
  border: 1px solid var(--border-color);
  background-color: var(--color-base-100);
  color: var(--color-base-content);
  border-radius: var(--radius-field);
  padding: 12px;
  width: 100%;
  font-family: "Mulish", sans-serif;
  font-size: 14px;
}

.select-winter-elune-daisy .form-group textarea:focus,
.select-winter-elune-daisy .form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
  outline: none;
}

.select-winter-elune-daisy .form-group textarea::placeholder,
.select-winter-elune-daisy .form-group select::placeholder {
  color: #aaaaaa;
  opacity: 0.7;
  font-style: italic;
}

.select-winter-elune-daisy .form-navigation {
  border-top: var(--border);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .prev-step {
  border: 1px solid var(--color-primary);
  background-color: var(--color-base-200);
  color: var(--color-primary);
  padding: 12px 24px;
  border-radius: var(--radius-field);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-winter-elune-daisy .prev-step:hover {
  background-color: rgba(66, 133, 244, 0.1);
}

.select-winter-elune-daisy .next-step {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-primary-content);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-field);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-winter-elune-daisy .next-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Botão de submissão com borda animada */
.select-winter-elune-daisy .submit-button {
  padding: 12px 24px;
  border-radius: var(--radius-field);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  color: var(--color-base-content);
  /* Criamos a borda animada com gradiente */
  background-image: linear-gradient(white, white), /* fundo branco */
    linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary)); /* gradiente animado */
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent !important;
  background-size: 300% 100%;
  animation: borderAnimation 6s ease infinite;
}

.select-winter-elune-daisy .submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Resultados */
.select-winter-elune-daisy .instrutor-carreiras-results {
  background-color: var(--color-base-200);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .results-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-primary-content);
  padding: 16px 20px;
  border-radius: var(--radius-box) var(--radius-box) 0 0;
}

.select-winter-elune-daisy .results-header h3 {
  color: var(--color-primary-content);
  margin: 0;
  font-weight: 600;
}

.select-winter-elune-daisy .results-content {
  padding: 20px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .results-content h4 {
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-top: 16px;
  font-weight: 600;
}

/* Loading Spinner */
.select-winter-elune-daisy .spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Aviso de limite de testes */
.select-winter-elune-daisy .instrutor-carreiras-limit-notice {
  background-color: var(--color-base-200);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-md);
  border: var(--border);
  display: flex;
  margin-bottom: 24px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select-winter-elune-daisy .limit-notice-icon {
  background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-error) 100%);
  color: var(--color-primary-content);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-box) 0 0 var(--radius-box);
}

.select-winter-elune-daisy .limit-notice-content {
  padding: 20px;
  flex: 1;
}

.select-winter-elune-daisy .limit-notice-content h3 {
  color: var(--color-error);
  margin-top: 0;
  font-weight: 600;
}

.select-winter-elune-daisy .limit-notice-details {
  border-top: var(--border);
  margin-top: 16px;
  padding-top: 16px;
}

/* Animações */
@keyframes borderAnimation {
  0% {
    background-position: 0% 50%, 0% 50%;
  }
  50% {
    background-position: 0% 50%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 0% 50%;
  }
}

/* Estilos para o container principal */
.select-winter-elune-daisy .instrutor-carreiras-container {
  background-color: var(--color-base-200);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 24px;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.select-winter-elune-daisy .instrutor-carreiras-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-primary-content);
  padding: 24px 20px;
  text-align: center;
}

.select-winter-elune-daisy .instrutor-carreiras-header h2 {
  color: var(--color-primary-content);
  margin-top: 0;
  font-weight: 700;
}

.select-winter-elune-daisy .instrutor-carreiras-header p {
  color: var(--color-primary-content);
  opacity: 0.9;
  margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .select-winter-elune-daisy .instrutor-carreiras-limit-notice {
    flex-direction: column;
  }

  .select-winter-elune-daisy .limit-notice-icon {
    border-radius: var(--radius-box) var(--radius-box) 0 0;
    padding: 16px;
  }

  .select-winter-elune-daisy .form-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .select-winter-elune-daisy .prev-step,
  .select-winter-elune-daisy .next-step,
  .select-winter-elune-daisy .submit-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .select-winter-elune-daisy .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .select-winter-elune-daisy .dashboard-status {
    align-self: flex-start;
  }
}

.select-winter-elune-daisy input,
.select-winter-elune-daisy textarea,
.select-winter-elune-daisy select,
.select-winter-elune-daisy .form-group input,
.select-winter-elune-daisy .form-group textarea,
.select-winter-elune-daisy .form-group select {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Compatibilidade com Elementor */
.elementor-widget-container .select-winter-elune-daisy,
.elementor-widget-container .instrutor-carreiras-container,
.elementor-widget-container .instrutor-carreiras-dashboard,
.elementor-widget-container .instrutor-carreiras-form,
.elementor-widget-container .instrutor-carreiras-history-card,
.elementor-widget-container .instrutor-carreiras-results,
.elementor-widget-container .instrutor-carreiras-limit-notice,
.elementor-widget-container .instrutor-carreiras-message,
.elementor-widget-container .instrutor-carreiras-user-info {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.select-winter-elune-daisy .dashboard-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100% !important;
}

.select-winter-elune-daisy .instrutor-carreiras-dashboard,
.select-winter-elune-daisy .instrutor-carreiras-history-card,
.select-winter-elune-daisy .instrutor-carreiras-results,
.select-winter-elune-daisy .instrutor-carreiras-limit-notice,
.select-winter-elune-daisy .instrutor-carreiras-message,
.select-winter-elune-daisy .instrutor-carreiras-user-info,
.select-winter-elune-daisy .dashboard-content,
.select-winter-elune-daisy .history-card-content,
.select-winter-elune-daisy .results-content,
.select-winter-elune-daisy .form-navigation {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#work_preference {
    height: 100%;
}
