/* Base Styles (formerly assets/styles.css) */
.card:hover {
  box-shadow: 0px 0px 8px 5px #bbb;
  cursor: pointer;
}

thead th {
  background: #0080eb;
  color: white;
  border-top: 0px !important;
}

thead th:first-of-type {
  border-top-left-radius: 10px;
}

thead th:last-of-type {
  border-top-right-radius: 10px;
}

.cell-number {
  text-align: right;
}

.form-group.required .control-label:after {
  content: " *";
  color: red;
}

.logo {
  padding: 2rem;
  max-height: 140px;
}

.jumbotron {
  background-color: #0080eb !important;
  color: white;
  padding: 2rem 1rem;
  border-radius: 0px !important;
}

legend {
  font-weight: bold;
  color: #0080eb !important;
}

h2 {
  font-weight: bold !important;
  color: #0080eb !important;
}

.second-header {
  max-width: 700px;
  color: #6c757d;
}

footer {
  background: #0080eb;
  margin-top: 30px;
  flex-shrink: 0;
}

.footer-copyright {
  background: #0027ff;
  color: white;
  font-size: smaller;
}

.social-media-icon {
  color: white;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
}

.btn {
  color: white !important;
}

.smaller {
  font-size: 60% !important;
}

.tab-content {
  margin-top: 15px;
}

.datos-afiliado {
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Inline Styles extracted from index.html */
fieldset,
legend {
  all: unset;
  display: block;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.wizard-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.step-indicator {
  background-color: #e0e0e0;
  color: #666;
  border-radius: 20px;
  padding: 8px 15px;
  font-weight: 500;
  z-index: 2;
  position: relative;
  transition: all 0.3s;
}

.step-indicator.active {
  background-color: #0069d9;
  color: white;
}

.step-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.step-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input.form-control,
select.custom-select {
  border-radius: 6px;
  padding: 10px 15px;
  height: auto;
}

.custom-floating-label {
  position: relative;
}

.custom-floating-label input.form-control,
.custom-floating-label select.custom-select {
  height: 3.5rem;
  padding: 1.25rem 1rem 0.25rem;
  border-radius: 0.5rem;
}

.custom-floating-label textarea.form-control {
  height: auto;
  min-height: 4rem;
  padding: 1.25rem 1rem 0.25rem;
  border-radius: 0.5rem;
}

.custom-floating-label label {
  position: absolute;
  top: 0;
  left: 1rem;
  height: 100%;
  padding: 1rem 1.25rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity .1s ease-in-out, transform .1s ease-in-out;
  color: #6c757d;
  margin-bottom: 0;
}

.custom-floating-label input::-webkit-input-placeholder {
  color: transparent;
}

.custom-floating-label input::-moz-placeholder {
  color: transparent;
}

.custom-floating-label input::placeholder {
  color: transparent;
}

.custom-floating-label input:not(:placeholder-shown)~label,
.custom-floating-label input:focus~label,
.custom-floating-label select~label,
.custom-floating-label textarea:not(:placeholder-shown)~label,
.custom-floating-label textarea:focus~label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: #6c757d;
}

.custom-floating-label input:focus~label,
.custom-floating-label select:focus~label,
.custom-floating-label textarea:focus~label {
  color: #0069d9;
}

.required .control-label::after {
  content: " *";
  color: #dc3545;
}

.cuota-slider-container input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  outline: none;
  padding: 0;
  margin: 15px 0;
  cursor: pointer;
  --slider-fill: 0%;
  background: linear-gradient(to right, #0069d9 var(--slider-fill), #e9ecef var(--slider-fill));
}

.cuota-slider-container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0069d9;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 105, 217, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid #fff;
}

.cuota-slider-container input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(0, 105, 217, 0.5);
}

.cuota-slider-container input[type=range]::-moz-range-track {
  height: 8px;
  border-radius: 5px;
  background: #e9ecef;
}

.cuota-slider-container input[type=range]::-moz-range-progress {
  height: 8px;
  border-radius: 5px;
  background: #0069d9;
}

.cuota-slider-container input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0069d9;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 105, 217, 0.4);
  transition: transform 0.15s;
}

.cuota-slider-container input[type=range]::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.upload-zone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed #0069d9;
  border-radius: 8px;
  background: #f5f9ff;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  min-height: 0;
}

.upload-zone:hover,
.upload-zone.dragover {
  background: #e4efff;
  border-color: #0040a0;
}

.upload-zone.has-file {
  border-color: #198754;
  background: #f0fdf4;
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-zone .upload-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.upload-zone .upload-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.upload-zone .upload-label {
  font-weight: 600;
  color: #0069d9;
  font-size: 0.85rem;
  line-height: 1.2;
}

.upload-zone .upload-hint {
  color: #6c757d;
  font-size: 0.75rem;
}

.upload-zone .upload-filename {
  color: #198754;
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

.textarea-expectations {
  border-radius: 0.5rem;
  resize: vertical;
  min-height: 90px;
  font-size: 0.95rem;
}

.btn-next:disabled,
.btn-next[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.field-help {
  font-size: 0.78rem;
  color: #6c757d;
  margin-top: 3px;
}

body {
  font-family: 'Inter', sans-serif !important;
}