/* CONTENEDOR PRINCIPAL ELEGANTE - DESKTOP */
.rsp-domain-transfer-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 35px 30px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-radius: 24px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 5px 10px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.rsp-domain-transfer-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9800, #F57C00, #FF9800);
  z-index: 1;
}

.rsp-domain-transfer-wrapper .rsp-domain-label {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  letter-spacing: -0.3px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rsp-domain-transfer-wrapper .rsp-domain-label strong {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FORMULARIO ELEGANTE - DESKTOP */
.rsp-domain-form-modern {
  flex: 1;
  min-width: 320px;
  position: relative;
  z-index: 1;
}

/* GRUPO DE ENTRADA - DESKTOP */
.rsp-domain-input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 58px;
  min-height: 58px;
}

.rsp-domain-input-group:focus-within {
  border-color: #FF9800;
  box-shadow: 
    0 6px 20px rgba(255, 152, 0, 0.15),
    0 2px 4px rgba(255, 152, 0, 0.1);
  transform: translateY(-1px);
}

/* PREFIJO WWW - DESKTOP */
.rsp-domain-prefix {
  padding: 0 22px;
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  font-size: 15px;
  font-weight: 600;
  color: #5d4037;
  border-right: 1.5px solid #fff8e1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 58px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  white-space: nowrap;
  margin: 0;
  letter-spacing: -0.2px;
}

/* INPUT PRINCIPAL - DESKTOP */
.rsp-domain-input,
#rsp_domain_transfer {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 22px;
  font-size: 16px;
  border: none;
  outline: none;
  background: transparent;
  color: #1e293b;
  font-weight: 500;
  height: 100%;
  min-height: 58px;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  margin: 0;
  box-sizing: border-box;
  letter-spacing: -0.1px;
  text-transform: uppercase;
}

.rsp-domain-input::placeholder,
#rsp_domain_transfer::placeholder {
  color: #94a3b8;
  font-weight: 400;
  opacity: 0.8;
  text-transform: none;
}

/* SELECT DE PERIODO - DESKTOP */
.rsp-domain-select,
#rsp_period_transfer {
  min-width: 120px;
  max-width: 140px;
  flex: 0 0 auto;
  padding: 0 32px 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #5d4037;
  border: none;
  outline: none;
  background: transparent;
  appearance: none;
  border-left: 1.5px solid #fff8e1;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%235d4037' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  cursor: pointer;
  height: 100%;
  min-height: 58px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  transition: all 0.2s ease;
}

.rsp-domain-select:hover,
#rsp_period_transfer:hover {
  background-color: #fff8e1;
}

/* BOTÓN DE BÚSQUEDA - DESKTOP */
.rsp-domain-button,
#rsp_check_transfer_availability {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: none;
  background: #FF9800 !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 58px;
  min-width: 65px;
  position: relative;
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
}

.rsp-domain-button:hover,
#rsp_check_transfer_availability:hover {
  background: #F57C00 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25);
}

.rsp-domain-button:active,
#rsp_check_transfer_availability:active {
  transform: translateY(0);
}

/* ICONO DEL BOTÓN - DESKTOP */
.rsp-domain-button svg,
#rsp_check_transfer_availability svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.rsp-domain-button:hover svg,
#rsp_check_transfer_availability:hover svg {
  transform: scale(1.1);
}

/* CAMPO EPP */
.rsp-epp-field {
  background: #fff8e1;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ffd54f;
  margin-top: 15px;
}

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

.rsp-epp-field input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ffd54f;
  border-radius: 8px;
  font-size: 14px;
  background: white;
}

.rsp-epp-field small {
  font-size: 12px;
  color: #8d6e63;
}

/* RESULTADOS - DESKTOP */
#rsp-domain-transfer-result {
  margin-top: 24px;
  font-size: 15px;
  padding: 20px 26px;
  border-radius: 14px;
  display: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  line-height: 1.6;
  border: 1.5px solid transparent;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-align: center;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  color: white !important;
}

/* TRANSFERIBLE - DESKTOP */
.rsp-available {
  display: block !important;
  background: linear-gradient(135deg, rgba(255, 245, 157, 0.9) 0%, rgba(255, 236, 179, 0.8) 100%);
  color: #5d4037 !important;
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
}

/* NO TRANSFERIBLE - DESKTOP */
.rsp-unavailable {
  display: block !important;
  background: linear-gradient(135deg, rgba(254, 202, 202, 0.9) 0%, rgba(252, 165, 165, 0.8) 100%);
  color: #7f1d1d !important;
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

/* BOTÓN TRANSFERIR AL CARRITO - DESKTOP */
.rsp-add-to-cart-transfer {
  background: #FF9800 !important;
  color: white !important;
  border: none;
  padding: 14px 32px;
  border-radius: 50px !important;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  min-width: 160px;
  letter-spacing: 0.2px;
}

.rsp-add-to-cart-transfer:hover {
  background: #F57C00 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.rsp-add-to-cart-transfer:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}


/* MEJORAS PARA EL FORMULARIO DE TRANSFERENCIA */
.rsp-transfer-step {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rsp-step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fff8e1;
}

.rsp-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #FF9800;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 12px;
    font-size: 14px;
}

.rsp-step-header h4 {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.rsp-epp-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.rsp-epp-input-group .rsp-domain-input {
    flex: 1;
    min-height: 50px;
    border: 2px solid #ffd54f;
    background: #fffdf6;
}

.rsp-epp-button {
    min-width: 120px;
    background: #FF9800 !important;
    font-weight: 600;
    white-space: nowrap;
}

.rsp-epp-button:hover {
    background: #F57C00 !important;
    transform: translateY(-1px);
}

.rsp-button-text {
    display: inline-block;
}

/* Estados del formulario */
.rsp-step-active {
    border-color: #FF9800;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
}

.rsp-step-completed .rsp-step-number {
    background: #10b981;
}

/* Mejoras responsive */
@media (max-width: 768px) {
    .rsp-epp-input-group {
        flex-direction: column;
    }
    
    .rsp-epp-button {
        min-width: 100%;
        margin-top: 10px;
    }
}
















/* ===========================================
   CSS ESPECÍFICO SOLO PARA MÓVILES
   =========================================== */

@media (max-width: 768px) {
  .rsp-domain-transfer-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 20px 15px !important;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
    border-radius: 16px !important;
    max-width: 95% !important;
    margin: 20px auto !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .rsp-domain-transfer-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #FF9800, #F57C00, #FF9800) !important;
    z-index: 1 !important;
  }

  .rsp-domain-transfer-wrapper .rsp-domain-label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .rsp-domain-form-modern {
    flex: none !important;
    min-width: 100% !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .rsp-domain-input-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    height: 50px !important;
    min-height: 50px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  .rsp-domain-prefix {
    padding: 0 12px !important;
    background: #fff8e1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #5d4037 !important;
    border-right: 1.5px solid #fff8e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 50px !important;
    font-family: 'Courier New', monospace !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .rsp-domain-input,
  #rsp_domain_transfer {
    flex: 1 !important;
    min-width: 80px !important;
    padding: 0 12px !important;
    font-size: 16px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    height: 100% !important;
    min-height: 50px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
  }

  .rsp-domain-select,
  #rsp_period_transfer {
    min-width: 90px !important;
    max-width: 100px !important;
    padding: 0 22px 0 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #5d4037 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    appearance: none !important;
    border-left: 1.5px solid #fff8e1 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%235d4037' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 10px !important;
    cursor: pointer !important;
    height: 100% !important;
    min-height: 50px !important;
    flex-shrink: 0 !important;
  }

  .rsp-domain-button,
  #rsp_check_transfer_availability {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border: none !important;
    background: #FF9800 !important;
    cursor: pointer !important;
    height: 100% !important;
    min-height: 50px !important;
    min-width: 50px !important;
    flex-shrink: 0 !important;
  }

  .rsp-domain-button svg,
  #rsp_check_transfer_availability svg {
    width: 18px !important;
    height: 18px !important;
    fill: #ffffff !important;
  }

  .rsp-epp-field {
    padding: 12px !important;
    margin-top: 12px !important;
  }

  #rsp-domain-transfer-result {
    margin-top: 15px !important;
    font-size: 14px !important;
    padding: 15px 18px !important;
    border-radius: 10px !important;
    display: none !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    border: 1.5px solid transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    text-align: center !important;
    color: white !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .rsp-add-to-cart-transfer {
    background: #FF9800 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    margin-top: 8px !important;
    display: inline-block !important;
    text-decoration: none !important;
    text-align: center !important;
    min-width: 130px !important;
  }
}

/* TEXTO EN MAYÚSCULAS */
.rsp-available strong,
.rsp-unavailable strong {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-weight: 700;
}

.domain-name {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}