.progress-indicator {
  margin-bottom: 30px;
  padding: 20px;
  background: #f5dad1;
  border-radius: 10px;
}

.progress-bar {
  height: 30px;
  background: #e9ecef;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
}

#progressFill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.5s ease, background 0.5s ease;
  border-radius: 15px;
}

#progressText {
  text-align: center;
  color: #495057;
  font-size: 14px;
  font-weight: 500;
}

.field-completed {
  position: relative;
}

.field-completed::after {
  content: "✓";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}

.field-error {
  border-left: 3px solid #dc3545;
  padding-left: 10px;
  background: #fff5f5;
}

.selection-counter {
  margin-top: 5px;
  font-size: 12px;
  padding: 5px;
  border-radius: 4px;
}

.counter-warning {
  background: #fff3cd;
  color: #856404;
}

.counter-success {
  background: #d4edda;
  color: #155724;
}

.counter-error {
  background: #f8d7da;
  color: #721c24;
}

.message {
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.btn-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/** form profile **/
/* Estilos para tab de completar peril */
/* 
.profile-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tabs-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.tab-item {
    flex: 1;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
}

.tab-item.active {
    color: #3b82f6;
    background: #fff;
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.tab-item.active::after {
    width: 80%;
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.field-group {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.field-required {
    color: #ef4444;
}

.field-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: #fff;
}

.field-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.field-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.field-textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group, .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.checkbox-item:hover, .radio-item:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.checkbox-item.selected, .radio-item.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.checkbox-item input, .radio-item input {
    margin-right: 8px;
    transform: scale(1.2);
}

.save-tab-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    min-width: 150px;
}

.save-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.save-tab-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #a7f3d0;
}

.field-description {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.validation-counter {
    font-size: 12px;
    color: #6b7280;
    text-align: right;
    margin-top: 4px;
}

.validation-counter.error {
    color: #ef4444;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex !important;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal !important;
    margin-bottom: 0 !important;
}

.checkbox-item:hover {
    background: #f7fafc;
    border-color: #667eea;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    padding: 0;
    border: none;
}

.checkbox-item input[type="checkbox"]:checked + span {
    color: #667eea;
    font-weight: 500;
}

/* Grid de géneros
.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .profile-tabs-container {
        padding: 10px;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-item {
        padding: 15px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .checkbox-group, .radio-group {
        grid-template-columns: 1fr;
    }
} 

*/