
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-green);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.form-control:focus {
  border-color: var(--accent-green);
  outline: none;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
}

.checkbox-group label {
  line-height: 1.5;
}

.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-top: 20px;
}

.required::after {
  content: " *";
  color: #e74c3c;
}

.input-with-icon {
  position: relative;
}

.form-icon {
  position: absolute;
  right: 15px;
  top: 40px;
  color: var(--accent-green);
}

.input-with-icon .form-control {
  padding-right: 40px;
}

.character-count {
  text-align: right;
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}


#aspirantes-admin .card-title {
  color: var(--primary-green);
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}


#aspirantes-admin .form-label {
  color: #2980b9;
}


#aspirantes-admin .form-control {
  border-color: #bdc3c7;
}

#aspirantes-admin .form-control:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#aspirantes-admin .form-submit-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#aspirantes-admin .form-submit-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1c5d87);
}


#aspirantes-admin .form-checkbox {
  background-color: #f8fafc;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  border-left: 3px solid #3498db;
}

#aspirantes-admin .form-checkbox input[type="checkbox"]:checked + label {
  color: #2980b9;
  font-weight: 600;
}


#aspirantes-admin .form-help {
  color: #3498db;
  font-size: 0.85rem;
  font-style: italic;
}


#aspirantes-admin textarea.form-control {
  min-height: 100px;
  background-color: #f8fafc;
  border-color: #d5d8dc;
}

#aspirantes-admin textarea.form-control:focus {
  background-color: white;
  border-color: #3498db;
}


#aspirantes-admin select.form-control {
  background-color: #f8fafc;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232980b9' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
}


#aspirantes-admin .form-submit-btn i {
  margin-right: 8px;
  font-size: 1.1rem;
}


#aspirantes-admin .form-control:disabled,
#aspirantes-admin .form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


#aspirantes-admin .form-control:valid {
  border-color: #27ae60;
}

#aspirantes-admin .form-control:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #e74c3c;
}


#aspirantes-admin .character-count {
  color: #3498db;
  font-weight: 500;
}

#aspirantes-admin .character-count span {
  font-weight: bold;
}


#aspirantes-admin .alert-success {
  background-color: rgba(52, 152, 219, 0.1);
  border-left: 4px solid #3498db;
  color: #2980b9;
}

#aspirantes-admin .alert-danger {
  background-color: rgba(231, 76, 60, 0.1);
  border-left: 4px solid #e74c3c;
  color: #c0392b;
}


#aspirantes-admin .contact-form {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


#aspirantes-admin .form-group:not(:last-child) {
  border-bottom: 1px dashed #ecf0f1;
  padding-bottom: 20px;
  margin-bottom: 20px;
}


#requisitos-admin .requirements-container {
  padding: 20px 0;
}


.requirement-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px dashed #ecf0f1;
}

.requirement-section:last-child {
  border-bottom: none;
}

.requirement-title {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.requirement-title i {
  color: #3498db;
}


.requirement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirement-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.requirement-check {
  color: #27ae60;
  font-size: 1.1rem;
}

.requirement-list li strong {
  color: #2c3e50;
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e0e6ed;
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.value-icon.integrity {
  background: rgba(41, 128, 185, 0.1);
  color: #2980b9;
}

.value-icon.respect {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.value-icon.responsibility {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.value-icon.impartiality {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.value-icon.patience {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
}

.value-icon.leadership {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.value-card h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.value-card p {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.5;
}


.scenario-intro {
  color: #34495e;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-style: italic;
}

.scenarios-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.scenario-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e6ed;
}

.scenario-header {
  padding: 15px 20px;
  border-bottom: 1px solid #ecf0f1;
}

.scenario-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.scenario-badge.conflict {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.scenario-badge.rule {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.scenario-badge.technical {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.scenario-badge.decision {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.scenario-header h4 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.1rem;
}

.scenario-content {
  padding: 20px;
}

.scenario-content ol {
  margin: 0;
  padding-left: 20px;
}

.scenario-content li {
  padding: 5px 0;
  color: #34495e;
}

.scenario-content li::marker {
  color: #3498db;
  font-weight: bold;
}


.commitments {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.commitment-icon {
  color: #3498db;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.commitment-item h4 {
  color: #2c3e50;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.commitment-item p {
  color: #7f8c8d;
  margin: 0;
  font-size: 0.95rem;
}


.evaluation-section {
  background: #f8fafc;
  padding: 25px;
  border-radius: 10px;
  border: 2px solid #e0e6ed;
}

.evaluation-intro {
  color: #34495e;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.evaluation-questions {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.evaluation-question p {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.evaluation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.evaluation-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: white;
  border: 1px solid #d5d8dc;
  border-radius: 6px;
  cursor: pointer;
}

.evaluation-option:hover {
  background: #f1f8ff;
  border-color: #3498db;
}

.evaluation-option input[type="radio"] {
  margin: 0;
}

.evaluation-result {
  margin-top: 30px;
  text-align: center;
}

#calculate-score {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

#calculate-score:hover {
  background: linear-gradient(135deg, #2980b9, #1c5d87);
}

.score-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  display: none;
}

.score-result.good {
  background: rgba(46, 204, 113, 0.1);
  border: 2px solid #2ecc71;
  color: #27ae60;
}

.score-result.medium {
  background: rgba(243, 156, 18, 0.1);
  border: 2px solid #f39c12;
  color: #d35400;
}

.score-result.low {
  background: rgba(231, 76, 60, 0.1);
  border: 2px solid #e74c3c;
  color: #c0392b;
}


.requirements-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #ecf0f1;
}

.requirements-continue-btn {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
}

.requirements-continue-btn:hover {
  background: linear-gradient(135deg, #27ae60, #219653);
  text-decoration: none;
  color: white;
}


.back-to-requisitos-btn {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-right: 15px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
}

.back-to-requisitos-btn:hover {
  background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
}


#requisitos-admin,
#aspirantes-admin {
  scroll-margin-top: 100px;
}


#aspirantes-admin {
  scroll-margin-top: 100px;
}


.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  color: #3498db;
  font-size: 0.9rem;
  opacity: 0.8;
}


.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
  flex-shrink: 0;
}

.form-checkbox label {
  line-height: 1.5;
  color: #333;
}


.form-checkbox a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.form-checkbox a:hover {
  text-decoration: underline;
}


.form-help {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  display: block;
}


.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid transparent;
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  border-color: #2ecc71;
  color: #27ae60;
}

.alert-danger {
  background-color: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  color: #c0392b;
}

.alert-warning {
  background-color: rgba(243, 156, 18, 0.1);
  border-color: #f39c12;
  color: #d35400;
}

.alert-info {
  background-color: rgba(52, 152, 219, 0.1);
  border-color: #3498db;
  color: #2980b9;
}


.form-container {
  position: relative;
  min-height: 500px; 
}


#success-message {
  display: none;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
  animation: slideInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
  border: 3px solid white;
  outline: 2px solid #2ecc71;
  scroll-margin-top: 120px; 
}


#success-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  z-index: 1;
}

#success-message > * {
  position: relative;
  z-index: 2;
}

.success-icon {
  font-size: 80px;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: bounce 1s ease infinite alternate;
}

#success-message h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

#success-message p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid white;
  min-width: 250px;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}


@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-10px);
  }
}


@media (max-width: 768px) {
  #success-message {
    padding: 30px 20px;
    margin: 15px 10px;
    scroll-margin-top: 100px;
  }

  .success-icon {
    font-size: 60px;
  }

  #success-message h3 {
    font-size: 24px;
  }

  #success-message p {
    font-size: 16px;
  }

  .btn-whatsapp {
    padding: 12px 20px;
    font-size: 16px;
    min-width: 200px;
  }
}


.success-highlight {
  animation: pulseHighlight 2s ease-in-out !important;
}

@keyframes pulseHighlight {
  0% {
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
  }
  50% {
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.6);
  }
  100% {
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
  }
}


#success-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}


.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid white;
  min-width: 250px;
  width: 100%;
  max-width: 300px;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}


.btn-discord {
  background: #5865f2;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid white;
  min-width: 250px;
  width: 100%;
  max-width: 300px;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.4);
}


.btn-whatsapp i,
.btn-discord i {
  font-size: 1.3rem;
}


.form-group:has(#join-whatsapp) {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #2ecc71;
}


.form-group:has(#join-whatsapp) .form-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  display: block;
}


.form-group:has(#join-whatsapp) .form-checkbox {
  margin-bottom: 12px;
  padding: 10px 15px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e0e6ed;
  transition: all 0.2s ease;
}

.form-group:has(#join-whatsapp) .form-checkbox:hover {
  border-color: #3498db;
  background-color: #f1f8ff;
}


#join-whatsapp:checked + label {
  color: #25d366;
  font-weight: 600;
}

#join-whatsapp:checked + label::before {
  content: "✓ ";
  color: #25d366;
}


#join-discord:checked + label {
  color: #5865f2;
  font-weight: 600;
}

#join-discord:checked + label::before {
  content: "✓ ";
  color: #5865f2;
}


@media (max-width: 768px) {
  #success-buttons {
    gap: 10px;
    margin-top: 15px;
  }

  .btn-whatsapp,
  .btn-discord {
    padding: 12px 20px;
    font-size: 16px;
    min-width: 200px;
    max-width: 250px;
  }


  .form-group:has(#join-whatsapp) {
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .form-group:has(#join-whatsapp) .form-checkbox {
    padding: 8px 12px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  #success-buttons {
    gap: 8px;
  }

  .btn-whatsapp,
  .btn-discord {
    padding: 10px 15px;
    font-size: 15px;
    min-width: 180px;
    max-width: 220px;
  }

  .btn-whatsapp i,
  .btn-discord i {
    font-size: 1.1rem;
  }
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-whatsapp,
.btn-discord {
  animation: fadeInUp 0.5s ease-out;
}


.btn-discord {
  animation-delay: 0.1s;
}


#success-message {
  scroll-margin-top: 120px;
}


#success-buttons:has(:only-child) {
  align-items: center;
  justify-content: center;
}


#success-buttons:has(:nth-child(2)) {
  flex-direction: column;
  align-items: center;
}


.form-group:has(#join-whatsapp) input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: #2ecc71;
}

#join-discord {
  accent-color: #5865f2;
}


.form-group:has(#join-whatsapp) .form-checkbox input[type="checkbox"]:checked {
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

#join-discord:checked {
  box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}


.form-group:has(#join-whatsapp) .form-checkbox label {
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.form-group:has(#join-whatsapp) .form-checkbox label::before {
  margin-right: 8px;
  font-weight: bold;
}


.form-group:has(#join-whatsapp) .form-checkbox:hover label {
  color: #2c3e50;
}

#join-whatsapp:focus + label,
#join-discord:focus + label {
  outline: 2px solid #3498db;
  outline-offset: 2px;
  border-radius: 4px;
}
