/* Instrutor de Carreiras - Main Styles */

:root {
  --primary-blue: #4285f4;
  --primary-purple: #8d00ff;
  --primary-pink: #c50491;
  --light-blue: #e8f0fe;
  --dark-blue: #1a73e8;
  --light-purple: #f3e5ff;
  --light-pink: #ffe0f5;
  --white: #ffffff;
  --black: #333333;
  --gray: #f8f9fa;
  --border-color: #e0e0e0;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
}

.instrutor-carreiras-container {
  width: 100% !important;
  margin: 0 auto;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--black);
}

.instrutor-carreiras-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}



.instrutor-carreiras-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.instrutor-carreiras-header p {
  font-size: 16px;
  color: var(--black);
  max-width: 100%;
  margin: 0 auto;
}

/* Limite de testes atingido - Aviso */
.instrutor-carreiras-limit-notice {
  display: flex;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  padding: 0;
}

.limit-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
  color: white;
  padding: 20px;
  font-size: 36px;
}

.limit-notice-icon .dashicons {
  font-size: 36px;
  width: 36px;
  height: 36px;
}

.limit-notice-content {
  padding: 20px;
  flex: 1;
}

.limit-notice-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #ff5722;
  font-size: 20px;
}

.limit-notice-content p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.limit-notice-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.limit-notice-details p {
  margin: 5px 0;
  font-size: 14px;
}

.instrutor-carreiras-form {
  margin-bottom: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  width: 100% !important;
}


.form-step {
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.step-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
}

.step-indicator {
  font-size: 14px;
  color: #666;
  background-color: var(--light-blue);
  padding: 5px 10px;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--black);
  font-size: 16px;
}

.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--white);
  font-size: 16px;
  transition: var(--transition);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.prev-step,
.next-step {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.prev-step {
  border: 1px solid var(--primary-purple);
  background-color: var(--white);
  color: var(--primary-purple);
}

.prev-step:hover {
  background-color: var(--light-purple);
}

.next-step {
  margin-left: auto;
  border: none;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
  color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.next-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.submit-button {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  /* Borda animada com gradiente */
  background-image: linear-gradient(white, white),
    linear-gradient(90deg, var(--primary-blue), var(--primary-purple), var(--primary-pink), var(--primary-blue));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent !important;
  background-size: 300% 100%;
  animation: borderAnimation 6s ease infinite;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%, 0% 50%;
  }
  50% {
    background-position: 0% 50%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 0% 50%;
  }
}

/* Results Section */
.instrutor-carreiras-results {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-top: 5px solid var(--primary-purple);
}

.results-header {
  text-align: center;
  margin-bottom: 20px;
}

.results-header h3 {
  font-size: 24px;
  color: var(--primary-purple);
  margin-bottom: 10px;
}

.results-content {
  line-height: 1.6;
}

.results-content h4 {
  color: var(--primary-blue);
  margin: 20px 0 10px;
  font-size: 18px;
  border-bottom: 1px solid var(--light-blue);
  padding-bottom: 5px;
}

.results-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.results-content li {
  margin-bottom: 8px;
}

.results-content p {
  margin-bottom: 15px;
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 30px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-blue);
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loading-spinner p {
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

/* Error Message */
.instrutor-carreiras-error {
  padding: 15px;
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #c62828;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

/* Message styles */
.instrutor-carreiras-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

.instrutor-carreiras-warning {
  background-color: #fff8e1;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.instrutor-carreiras-info {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
  color: #0c5460;
}

.instrutor-carreiras-success {
  background-color: #e8f5e9;
  border-left: 4px solid #4caf50;
  color: #155724;
}

/* History Card */
.instrutor-carreiras-history-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.history-card-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: #fff !important;
}

.history-card-header h3 {
  margin: 0 0 5px 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff !important;
}

.history-card-date {
  font-size: 14px;
  opacity: 0.9;
}

.history-card-content {
  padding: 20px;
}

.history-card-profile {
  margin-bottom: 20px;
}

.history-card-profile h4,
.history-card-careers h4,
.history-card-courses h4 {
  font-size: 16px;
  margin: 0 0 10px 0;
  color: var(--primary-purple);
}

.history-card-profile p {
  margin: 0;
  line-height: 1.5;
  font-style: italic;
  color: #555;
}

.history-card-careers,
.history-card-courses {
  margin-bottom: 20px;
}

.history-card-careers ul,
.history-card-courses ul {
  margin: 0;
  padding-left: 20px;
}

.history-card-careers li,
.history-card-courses li {
  margin-bottom: 5px;
}

.history-card-actions {
  text-align: right;
  margin-top: 15px;
}

.history-card-button {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.history-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.history-card-button-secondary {
  display: inline-block;
  padding: 8px 16px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.history-card-button-secondary:hover {
  background: #eee;
}

.history-card-full-result {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background-color: #f9f9f9;
}

.full-result-loading {
  text-align: center;
  padding: 20px;
}

.full-result-content {
  margin-bottom: 20px;
  line-height: 1.6;
}

.full-result-content h3 {
  font-size: 20px;
  color: var(--primary-blue);
  margin: 20px 0 10px;
}

.full-result-content h4 {
  font-size: 18px;
  color: var(--primary-purple);
  margin: 15px 0 10px;
}

.full-result-content h5 {
  font-size: 16px;
  color: #333;
  margin: 10px 0 5px;
}

.full-result-content p {
  margin-bottom: 10px;
}

.full-result-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.full-result-content li {
  margin-bottom: 5px;
}

.full-result-actions {
  text-align: right;
  margin-top: 15px;
}

/* Dashboard Styles - MELHORADO */
.instrutor-carreiras-dashboard {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  font-size: 13px; /* Fonte menor conforme solicitado */
}

.dashboard-header {
  padding: 12px 15px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: #fff !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
 
}

.dashboard-header h3 {
  margin: 0;
  font-size: 16px; /* Fonte menor conforme solicitado */
  font-weight: 600;
    color: #fff !important;

}

.dashboard-status {
  display: flex;
  align-items: center;
  font-size: 12px; /* Fonte menor conforme solicitado */
  padding: 3px 8px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.2);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-available .status-indicator {
  background-color: var(--success-color);
  box-shadow: 0 0 5px var(--success-color);
  animation: pulse 1.5s infinite; /* Indicador visual pulsante */
}

.status-unavailable .status-indicator {
  background-color: var(--danger-color);
  box-shadow: 0 0 5px var(--danger-color);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

.dashboard-content {
  padding: 15px;
}

.dashboard-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.dashboard-card {
  flex: 1;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
}

.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 10px 12px;
  background-color: #f2f2f2;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.card-header i {
  margin-right: 8px;
  color: var(--primary-purple);
}

.card-header h4 {
  margin: 0;
  font-size: 14px; /* Fonte menor conforme solicitado */
  font-weight: 600;
  color: #555;
}

.card-content {
  padding: 12px;
}

.progress-container {
  margin-bottom: 10px;
}

.progress-bar {
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px; /* Fonte menor conforme solicitado */
  color: #666;
}

.tests-remaining {
  text-align: center;
  margin-top: 12px;
}

.remaining-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-purple);
  display: block;
}

.remaining-label {
  font-size: 12px; /* Fonte menor conforme solicitado */
  color: #666;
}

.renewal-date {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  text-align: center;
  margin-bottom: 8px;
}

.renewal-countdown {
  text-align: center;
}

.countdown-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
}

.countdown-label {
  font-size: 12px; /* Fonte menor conforme solicitado */
  color: #666;
}

.dashboard-alert {
  display: flex;
  align-items: flex-start;
  padding: 10px 12px;
  background-color: #fff8e1;
  border-left: 3px solid var(--warning-color);
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 12px; /* Fonte menor conforme solicitado */
}

.dashboard-alert i {
  color: var(--warning-color);
  margin-right: 8px;
  font-size: 16px;
}

.dashboard-alert p {
  margin: 0;
  color: #856404;
  line-height: 1.4;
}

.dashboard-actions {
  text-align: center;
  margin-top: 12px;
}

/* Botão com borda animada com gradiente */
.dashboard-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px; /* Fonte menor conforme solicitado */
  color: #333;
  text-decoration: none;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-button.gradient-border {
  /* Borda animada com gradiente */
  background-image: linear-gradient(white, white), linear-gradient(90deg, #00c6ff, #8d00ff, #ff00e5, #00c6ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent !important;
  background-size: 300% 100%;
  animation: borderAnimation 6s ease infinite;
}

.dashboard-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-button:active {
  transform: translateY(0);
}

.dashboard-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .instrutor-carreiras-container {
    padding: 0 15px;
  }

  .instrutor-carreiras-header h2 {
    font-size: 24px;
  }

  .form-step {
    padding: 20px;
  }

  .submit-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .form-navigation {
    flex-direction: column;
    gap: 10px;
  }

  .prev-step,
  .next-step {
    width: 100%;
    margin: 0;
  }

  .instrutor-carreiras-limit-notice {
    flex-direction: column;
  }

  .limit-notice-icon {
    padding: 15px;
    justify-content: center;
  }

  .history-card-actions {
    text-align: center;
  }

  .dashboard-row {
    flex-direction: column;
    gap: 15px;
  }
}

/* Animation for results */
.animate-in {
  animation: fadeIn 0.5s ease-in-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Form validation styles */
.error {
  border-color: #dc3545 !important;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

.error-container {
  padding: 15px;
  background-color: #ffebee;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--light-blue);
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  transition: width 0.3s ease;
}

/* User Info Styles */
.instrutor-carreiras-user-info {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.instrutor-carreiras-user-info h3 {
  padding: 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: var(--white);
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.user-info-content {
  padding: 20px;
}

.user-info-content p {
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.user-info-content p:last-child {
  margin-bottom: 0;
}

#work_preference {
    height: 100%;
}
