.general-register-form .general-lable {
    /* font-family: "Circular Std Book"; */
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
    display: block;
    margin-bottom: 15px;
    line-height: 1;
}

.general-register-form .general-input {
    height: 50px;
    border: 1px solid var(--border_color);
    /* font-family: "Circular Std Book"; */
    font-size: 14px;
    font-weight: 400;
    color: #2b2b2b;
    padding: 15px 25px;
    width: 100%;
    box-shadow: none !important;
    border-radius: 15px;
}

.general-input {
    height: 50px;
    border: 1px solid var(--border_color);
    /* font-family: "Circular Std Book"; */
    font-size: 14px;
    font-weight: 400;
    color: #2b2b2b;
    padding: 15px 25px;
    width: 100%;
    box-shadow: none !important;
    border-radius: 15px;
}

.general-register-form .nice-select .current {
    color: #2b2b2b;
}

.general-input.is-invalid,
.is-invalid+.nice-select {
    border-color: rgb(223, 49, 49) !important;
}

.wrap-code-phone:has(input.is-invalid) .nice-select {
    border-color: rgb(223, 49, 49) !important;
}


.general-register-form .theme_select,
.general-register-form .nice-select {
    -webkit-tap-highlight-color: transparent;
    border-radius: 15px;
    border: 1px solid var(--border_color);
    clear: both;
    float: left;
    font-family: inherit;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    transition: .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.nice-select {
    -webkit-tap-highlight-color: transparent;
    border-radius: 15px;
    border: 1px solid var(--border_color);
    clear: both;
    float: left;
    font-family: inherit;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    transition: .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.nice-select .current {
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    overflow: hidden;
}

.is-invalid~.invalid-feedback {
    display: block !important;
}

.general-register-form .nice-select.loading::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}


.general-register-form .section-title {
    color: var(--toolkit_corporative-orange-color);
    font-size: 18px;
}

.wrap-section-multistep {
    background-color: #f5f5f5;
    border-radius: 20px;
}

.custom-file-upload-img {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
    margin: auto;
}

.image-preview {
    width: 100%;
    max-height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.file-input {
    display: none;
}

.upload-btn {
    background-color: var(--base_color);
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}


.custom-file {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

.custom-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.custom-file-button {
    background-color: var(--base_color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
}


.custom-file-name {
    font-size: 14px;
    color: #666;
}


form.validating {
    position: relative;
    pointer-events: none;
    /* bloquea clicks */
    opacity: 0.7;
}

/* Overlay */
form.validating::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    z-index: 10;
}

/* Spinner */
form.validating::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    transform: translateY(-50%);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 11;
}