  @charset "UTF-8";

  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

  :root{
  --morado: #6802C1;
  --morado_oscuro: #520991;
  --green: ;
  --swiper-theme-color: var(--morado);
  }

  * {
      margin: 0;
      padding: 0;
      font-family: "Poppins", verdana, sans-serif;
  }

  input, textarea, select, button {
      font-family: "Poppins", verdana, sans-serif;
      border-radius: 0px 0px 0px 0px !important;
  }

  .text-morado {
    color: var(--morado_oscuro);
  }

  .bg-morado {
      --tw-bg-opacity: 1;
      background-color: rgb(104 2 193 / var(--tw-bg-opacity, 1));
  }

  .gradient-bg {
      background: rgb(104 2 193 / var(--tw-bg-opacity, 1));
      border-radius: 25px;
  }
  .photo-preview-container {
      position: relative;
      width: 200px;
      height: 200px;
      margin: 0 auto;
      border-radius: 50%;
      overflow: hidden;
      border: 4px solid #1d1d20ff;
      background: #f3f4f6;
  }
  .photo-preview {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .photo-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      padding: 10px;
      text-align: center;
      cursor: pointer;
      transition: background 0.3s;
  }
  .photo-overlay:hover {
      background: rgba(0, 0, 0, 0.85);
  }
  .photo-buttons {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-top: 15px;
  }
  .photo-btn {
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      border: none;
  }
  .btn-camera {
      background: rgb(104 2 193 / var(--tw-bg-opacity, 1));
      color: white;
      border-radius: 25px;
  }
  .btn-camera:hover {
      background: #432c9fff;
  }
  .btn-upload {
      background: #fff;
      color: var(--morado);
      border-radius: 25px;
      border: 2px solid var(--morado);
  }
  .btn-upload:hover {
      background: #fff;
  }
  
  #video-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: 9999;
      display: none;
      justify-content: center;
      align-items: center;
      flex-direction: column;
  }
  #camera-video {
      max-width: 90%;
      max-height: 70vh;
      border-radius: 10px;
  }
  .camera-controls {
      margin-top: 20px;
      display: flex;
      gap: 15px;
  }
  .camera-btn {
      padding: 15px 30px;
      border-radius: 10px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      border: none;
      transition: all 0.3s;
  }
  .btn-capture {
      background: var(--morado);
      color: white;
      border-radius: 25px;
  }
  .btn-capture:hover {
      background: var(--morado);
  }
  .btn-cancel {
      background: #fff;
      color: var(--morado);
      border: 2px solid var(--morado);
      border-radius: 25px;
  }
  .btn-cancel:hover {
      background: #fff;
  }


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out; }
.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #4BB543;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0 0 0 #4BB543;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}
.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #4BB543;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { box-shadow: inset 0 0 0 50px #4BB543; }
}


/* ============ ESTILOS PARA HABILIDADES (CHIPS) ============ */
.chip-habilidad {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    margin: 4px;
}

.chip-disponible {
    background-color: #e5e7eb;
    color: #374151;
    border: 2px solid transparent;
}

.chip-disponible:hover {
    background-color: var(--morado);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(104, 2, 193, 0.3);
    border-color: var(--morado);
}

.chip-seleccionada {
    background-color: var(--morado);
    color: white;
    border: 2px solid var(--morado);
    box-shadow: 0 2px 4px rgba(104, 2, 193, 0.2);
}

.chip-seleccionada:hover {
    background-color: #5502a0;
    border-color: #5502a0;
    box-shadow: 0 4px 8px rgba(104, 2, 193, 0.4);
}

.chip-seleccionada button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    margin-left: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.chip-seleccionada button:hover {
    transform: scale(1.3);
}


@media (max-width: 640px) {
    .flex.items-center {
        flex-direction: column;
    }
}

/* Estilos para Progreso */
/* Fondo del modal */
#progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Contenedor principal del contenido */
.progress-content {
    background: #ffffff;
    width: 420px;
    padding: 25px 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Animación de aparición */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Header con spinner */
.progress-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.progress-header h2 {
    font-size: 20px;
    margin-top: 15px;
    color: #333;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #e5e5e5;
    border-top-color: #5502a0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Barra de progreso */
.progress-bar-container {
    width: 100%;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    height: 22px;
    margin-bottom: 15px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #5502a0, #690eb9);
    display: flex;
    align-items: center;
    transition: width 0.4s ease;
}

.progress-percent {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

/* Mensaje dinámico */
.progress-message {
    font-size: 15px;
    color: #555;
    margin-top: 5px;
    margin-bottom: 20px;
}

/* Steps visuales estilo timeline */
/* .progress-steps {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
} */

/* Contenedor general del timeline */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding: 0 5px;
}

/* Cada paso */
.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Texto del paso */
.progress-step span {
    font-size: 13px;
    display: block;
    margin-top: 8px;
    color: #777;
}

/* El punto del paso */
.progress-step .step-circle {
    width: 22px;
    height: 22px;
    background: #d5d5d5;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Línea entre los steps */
.progress-step::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -50%;
    width: 100%;
    height: 4px;
    background: #d5d5d5;
    z-index: 1;
}

.progress-step:first-child::before {
    display: none;
}

/* Estado ACTIVO */
.progress-step.active .step-circle {
    background: #007bff;
    transform: scale(1.15);
}

.progress-step.active span {
    color: #007bff;
    font-weight: bold;
}

/* Estado COMPLETADO */
.progress-step.completed .step-circle {
    background: #28a745;
}

.progress-step.completed span {
    color: #28a745;
    font-weight: bold;
}

/* Línea verde entre pasos completados */
.progress-step.completed::before {
    background: #28a745;
}
