:root {
    --blue-primary: #00376F;
    --navy: #1a365d;
    --gray-border: #e2e8f0;
    --text-light: #718096;
}

.frm-registration-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    /*max-width: 480px;*/
    font-family: "Montserrat";
}

/* Tabs */
.frm-registration-tabs {
    display: flex;
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
}

.frm-registration-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--navy);
}

.frm-registration-tab.active {
    background: var(--blue-primary);
    color: white;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding: 0 10px;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-border);
    z-index: 1;
}

.step-dot {
    width: 10px;
    height: 10px;
    background: white;
    border: 2px solid var(--gray-border);
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.step-dot.active {
    background: #3182ce;
    border-color: #3182ce;
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.2);
}

/* Form Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.frm-registration-card h2 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.frm-registration-card label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-top: 15px;
    font-size: 0.9rem;
    align-self: flex-start; 
    text-align: left;
    width: auto;
}

.frm-registration-card input,
.frm-registration-card select,
.frm-registration-card textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    box-sizing: border-box;
    margin-top: 5px;
    font-size: 0.95rem;
}

.frm-registration-card textarea {
    height: 100px;
}

/* Grid for Steps 2 & 3 */
.frm-registration-row {
    display: flex;       /* Activa el modo flexible */
    gap: 15px;           /* Espacio exacto entre los dos inputs */
    width: 100%;         /* Asegura que ocupe todo el ancho del formulario */
}

.frm-registration-col {
    flex: 1;
}

/* Ajuste opcional para los inputs dentro de las columnas */
.frm-registration-col input {
    width: 100%;         /* Asegura que el input llene su respectiva columna */
    box-sizing: border-box; /* Evita que el padding "infle" el input */
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.highlight {
    color: var(--navy);
    font-weight: bold;
}

.hint {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 5px;
}

.disclaimer {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

/* Navigation */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    min-height: 50px; /* Evita saltos de altura cuando aparece el botón */
}

.btn-continue {
    background: var(--blue-primary);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-back {
    background: none;
    border: none;
    color: var(--navy);
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 10px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.btn-back:hover {
    text-decoration: underline;
}

.footer-signin {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.input-with-link {
    position: relative;
}

.inline-link {
    position: absolute;
    right: 0;
    top: -22px;
    font-size: 0.7rem;
    text-decoration: none;
    color: var(--text-light);
}

.inline-link b {
    color: var(--navy);
}

/* Ocultar paso 3 del stepper si es cliente */
.hide-step {
    display: none;
}

#frm-registration-error-message {
    display: none;
    color: #e53e3e;
    background: #fff5f5;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    border: 1px solid #feb2b2;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Contenedor principal */
.registration-alert {
    width: 100%;
    background: #f5f7ff;
    border: 1px solid #dde1ec;
    border-radius: 10px;
    border-left: 3px solid #0057ff;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.registration-alert__content {
    padding: 28px 28px 24px;
}

/* Píldora de estado */
.status-pill {
    display: inline-block;
    background: #e8efff;
    border: 1px solid #b3ccff;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 18px;
}

.status-pill__text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #0057ff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Textos */
.registration-alert__title {
    margin: 0 0 10px;
    font-family: 'Syne', 'Helvetica Neue', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #0d1120;
    line-height: 24px;
}

.registration-alert__description {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #5a607a;
    line-height: 21px;
}

#success-wrapper {
    max-width: 600px; /* O el ancho que tenga tu formulario */
    margin: 40px auto;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón Ir al Home (Estilo principal) */
.btn-home {
    background-color: #0057ff;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-home:hover {
    background-color: #0044cc;
}

/* Botón Registrar otro (Estilo secundario/outline) */
.btn-create-another {
    background-color: transparent;
    color: #5a607a;
    border: 1px solid #dde1ec;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-create-another:hover {
    background-color: #f5f7ff;
    color: #0d1120;
    border-color: #0057ff;
}

.rf-required-field {
   color: #e53e3e; 
}

.is-invalid {
    border: 2px solid #dc3545 !important;
    background-color: #fff8f8;
}