/* Stylesheet for Referidos Module (p/referidos/dom/index.css) */

.referidos-page {
  position: relative;
  padding-bottom: 5rem;
}

.step-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(22, 22, 28, 0.7) !important;
  backdrop-filter: blur(10px);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.3);
}

.step-num {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  opacity: 0.85;
}

/* Calculator Styles */
.calculator-card {
  background: rgba(18, 18, 24, 0.8) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
}

.custom-select-premium {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #fff;
  background-color: rgba(30, 30, 40, 0.9);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f2fe' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-premium:focus {
  border-color: #00f2fe;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.25);
}

.range-field input[type=range] {
  width: 100%;
  accent-color: #00f2fe;
}

.roi-result-container {
  background: rgba(30, 30, 40, 0.5);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: 12px;
  padding: 2.5rem 1.5rem !important;
}

.roi-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a0aec0;
}

.roi-value {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
}

/* Multi-step Form Wizard */
.form-wizard-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.step-indicator-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step-line {
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 80px;
}

.dot-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2d3748;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.dot-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #a0aec0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.step-dot.active .dot-inner {
  background: #1a202c;
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.step-dot.active .dot-label {
  color: #fff;
}

.step-dot.completed .dot-inner {
  background: #00f2fe;
  border-color: #00f2fe;
  color: #1a202c;
}

.form-control-premium {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #fff;
  background-color: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-premium:focus {
  border-color: #00f2fe;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.2);
}

.error-msg {
  display: none;
  color: #fc8181;
  font-size: 0.85rem;
  margin-top: 4px;
}

.form-group.has-error .form-control-premium,
.form-group.has-error .custom-select-premium {
  border-color: #fc8181;
}

.form-group.has-error .error-msg {
  display: block;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.success-icon-wrapper {
  display: inline-block;
}

.success-icon {
  font-size: 5rem;
  color: #48bb78;
  animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.referral-code-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
}

.code-label {
  font-size: 0.9rem;
  color: #a0aec0;
}

.code-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00f2fe;
  letter-spacing: 2px;
}

@keyframes scaleUp {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
