/* Dashboard 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;
}

/* 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;
}

/* Dashboard Styles */
.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;
}

.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;
  font-weight: 600;
  color: #fff !important;
}

.dashboard-status {
  display: flex;
  align-items: center;
  font-size: 12px;
  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;
}

.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;
  font-weight: 600;
  color: #555;
}

.card-content {
  padding: 12px;
}

.progress-container {
  margin-bottom: 10px;
}

.progress-bar {
  height: 6px;
  width: 100%;
  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;
  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;
  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;
  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;
}

.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;
  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 {
  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;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%, 0% 50%;
  }
  50% {
    background-position: 0% 50%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 0% 50%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-row {
    flex-direction: column;
    gap: 15px;
  }
}

#work_preference {
    height: 100%;
}