#register .all-content {
    margin-top: 50px;
}

.register-background {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #242424;
}

.register-container {
    border-radius: 8px 8px 8px 8px;
    width: 1279px;
    height: 753px;
    max-width: 100%;
    background-color: #ffffff;
    box-shadow: 4px 4px 4px 0px #00000033;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: inherit;
}

.register-title {
    font-size: 40px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 40px;
    margin-top: 0;
}

.register-header {
    margin-bottom: 2rem !important;
    margin-top: -30px !important;
}

.register-header-logo {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}


.register-progress {
    display: flex;
    margin-bottom: 50px;
    gap: 10px;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-label {
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

.progress-step .progress {
    height: 7px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-step .progress-bar {
    background-color: #FF1F1FFF;
    height: 100%;
    transition: width 2.0s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation removed in favor of JS-controlled transition */
.progress-step .progress-bar-animated {
    width: 0%;
}

.register-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
    margin-bottom: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

#pdc-container {
    margin-top: -30px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #000000;
}

.form-group label .required {
    color: #ed1b24;
}

.form-group input,
.form-group select {
    height: 48px;
    border: 1px solid #00000080;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    background-color: #ffffff;
    box-sizing: border-box;
}

.form-group input:hover,
.form-group select:hover,
.form-group input:focus,
.form-group select:focus {
    border-color: #b40404 !important;
    box-shadow: none !important;
    outline: none !important;
}

.form-error {
    color: #ed1b24;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
    min-height: 19px;
    line-height: 1.2;
}

.form-error-hidden {
    opacity: 0 !important;
}

.form-error-visible {
    opacity: 1 !important;
}

.form-group input::placeholder,
.form-group select:invalid {
    color: #e0e0e0;
}

.other-specify-container textarea::placeholder {
    color: #e0e0e0;
    font-size: 14px;
}

.form-group select:valid {
    color: #242424;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    color: #e0e0e0;
}

.form-group select option {
    color: #333;
}

.register-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: auto;
}

.btn-cancel {
    background-color: #f5f5f5;
    border: 1px solid #333;
    color: #333;
    border-radius: 4px;
    padding: 6px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cancel:hover {
    background-color: #e2e6ea;
}

.btn-continue {
    background-color: #242424;
    border: 1px solid #242424;
    color: #ffffff;
    border-radius: 4px;
    padding: 6px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-continue:hover:not(:disabled) {
    background-color: #000000;
}

.btn-continue:disabled {
    background-color: #a1a1aa;
    border-color: #a1a1aa;
    cursor: not-allowed;
}

/* Base Select Placeholder Styles */
.form-group select:has(option[value=""]:checked) {
    color: #e0e0e0;
}

.form-group select option {
    color: #212529;
}

.form-group select option[value=""] {
    color: #e0e0e0;
}

/* Checkbox Grid Styles */
.form-group.full-width {
    grid-column: span 2;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 10px;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.checkbox-cont .app-checkbox {
    width: 16px !important;
    height: 16px !important;
    padding: 0;
}

/* .checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
} */

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #FF1F1F;
    margin: 0;
}

/* Custom Multi Select Dropdown Native Styling */
.custom-multi-select-btn {
    min-height: 48px;
    height: auto;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 16px;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    width: 538.5px !important;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    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='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 12px;
    color: #333;
    transition: border-color 0.2s;
}

.custom-multi-select-btn:hover,
.custom-multi-select-btn:focus,
.custom-multi-select-btn[aria-expanded="true"] {
    border-color: #b40404 !important;
}

#pdc-badges-container,
#erp-badges-container {
    padding-right: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-multi-select-badge {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    font-weight: 500;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    width: calc((100% - 24px) / 4);
    display: flex;
    /* Para alinear el texto y la X si la pildora es ancha */
    justify-content: space-between;
    align-items: center;
}

.custom-multi-select-badge span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.custom-multi-select-dropdown {
    background-color: #ffffff !important;
    max-height: 350px;
    width: 538.5px !important;
    overflow-y: auto;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 0;
    z-index: 1050;
    left: 0 !important;
}

.custom-multi-select-option {
    cursor: pointer;
    padding: 10px 16px;
    transition: background-color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff !important;
}

.custom-multi-select-option:hover {
    background-color: #f8f9fa !important;
}

.custom-multi-select-checkbox {
    cursor: pointer;
    width: 16px !important;
    height: 16px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #d1d5db !important;
    border-radius: 3px;
    flex-shrink: 0;
    margin: 0;
    margin-top: -3px;
    padding: 0 !important;
    position: relative;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
}

.custom-multi-select-checkbox:checked {
    background-color: #FF1F1F !important;
    border-color: #FF1F1F !important;
}

.custom-multi-select-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-multi-select-placeholder {
    color: #e0e0e0;
    font-size: 14px;
}

.custom-multi-select-remove {
    cursor: pointer;
    font-size: 16px;
    margin-left: 6px;
    color: #adb5bd;
    transition: color 0.2s;
}

.custom-multi-select-remove:hover {
    color: #FF1F1F;
}

.custom-multi-select-label {
    cursor: pointer;
    margin-bottom: 0;
    font-size: 15px;
    color: #212529 !important;
    flex-grow: 1;
    user-select: none;
    line-height: normal;
}

.checkbox-cont label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.other-specify-container {
    margin-top: -10px;
    width: 538.5px;
    max-width: 100%;
    height: 70px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    padding: 5px 5px 5px 5px;
    transition: border-color 0.2s, opacity 0.2s, visibility 0.2s;
    background-color: #ffffff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.other-specify-container.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.other-specify-container:hover,
.other-specify-container:focus-within {
    border-color: #b40404 !important;
}

.other-specify-container textarea {
    width: 100%;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    padding: 5px !important;
    background-color: transparent !important;
    color: #333;
    resize: none;
}

/* Step 3 Styles */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    width: 100%;
    padding-right: 40px;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a1a1aa;
    font-size: 16px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle-icon .eye-slash-icon {
    display: none;
}

.password-toggle-icon.is-visible .eye-icon {
    display: none;
}

.password-toggle-icon.is-visible .eye-slash-icon {
    display: block;
}

.password-hint-container {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.2;
    color: #333;
}

.password-hint-item {
    margin-bottom: 2px;
}

.password-hint-icon {
    display: inline-block;
    width: 12px;
    text-align: center;
    margin-right: 8px;
    color: #00000080;
    font-size: 12px;
}

.password-hint-icon-bold {
    display: inline-block;
    width: 12px;
    text-align: center;
    margin-right: 8px;
    font-weight: bold;
    color: #242424;
    font-size: 12px;
}

.terms-consent-text {
    margin: 0 0 6px 0;
    font-size: 12px;
    line-height: 1.2;
}

.terms-link-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-icon {
    color: #666;
    font-size: 14px;
}

.terms-link {
    color: #333;
    text-decoration: underline;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 5;
    animation-timing-function: ease-in-out;
    animation-duration: 0.8s;
}

@keyframes fadeInOpacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Terms & Conditions Modal */
.terms-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.terms-modal-content {
    background-color: #f7f7f7;
    width: 700px;
    max-width: 90%;
    height: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.terms-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px 15px 0 15px;
}

.terms-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: #333;
}

.terms-modal-body {
    padding: 0 60px;
    overflow-y: auto;
    flex-grow: 1;
}

.terms-modal-body::-webkit-scrollbar {
    width: 8px;
}

.terms-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.terms-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.terms-modal-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    color: #242424
}

.terms-modal-body p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.terms-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 60px;
    background-color: #f7f7f7;
}

.terms-btn-decline {
    background-color: #f5f5f5;
    border: 1px solid #242424;
    color: #333;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    min-width: 120px;
}

.terms-btn-decline:hover {
    background-color: #e2e6ea;
}

.terms-btn-accept {
    background-color: #242424;
    border: 1px solid #242424;
    color: #ffffff;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    min-width: 120px;
}

.terms-btn-accept:hover:not(:disabled) {
    background-color: #000000;
}

.terms-btn-accept:disabled {
    background-color: #a1a1aa;
    border-color: #a1a1aa;
    cursor: not-allowed;
}

/* Request Status Styles */
#content:has(> .request-status-wrapper) {
    padding: 0 !important;
}

.request-status-wrapper {
    min-height: 100vh;
    width: 100%;
    background-color: var(--app-color-gray-bg);
    overflow: hidden;
    position: relative;
}

.request-status-wrapper .all-content {
    margin: 35px;
    z-index: 9999;
}

.request-status-wrapper .all-content .request-card {
    padding-top: 45px;
    margin-bottom: 30px;
}

.request-status-wrapper .all-content .img-container {
    padding: 45px 0;
}

.request-status-wrapper .all-content .img-container img {
    width: 360px;
}

.request-status-wrapper .all-content .request-card h1 {
    color: var(--app-color-black);
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 1.5px;
    font-weight: 600px;
    text-align: center;
    font-style: normal;
}

.status-card {
    padding: 60px 80px !important;
    text-align: center;
    border-radius: 8px 8px 8px 8px;
    width: 716px;
    height: 478px;
    box-shadow: -2px -3px 12px 1px #00000033;
}

.status-icon-container {
    margin-top: -70px;
    margin-bottom: 20px;
}

.status-icon-pending {
    width: 50px;
    height: 50px;
    background-color: #242424;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
}

.status-icon-pending i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-card h1 {
    margin-bottom: 25px !important;
    letter-spacing: 1.2px !important;
    margin-top: -10px !important;
}

.status-message {
    color: #7b7d85;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: normal;
    margin-top: 10px;
}

.back-to-login {
    color: #242424;
    text-decoration: underline;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    line-height: 1.2;
    gap: 8px;
}

.back-to-login:hover {
    color: #000;
}

/* Email Verification Styles */
.verify-email-card {
    padding: 60px 80px !important;
    text-align: center;
    border-radius: 8px 8px 8px 8px;
    width: 716px;
    height: 478px;
    box-shadow: -2px -3px 12px 1px #00000033;
    background-color: #ffffff;
    margin-bottom: 30px;
}

.verify-icon-container {
    width: 49px;
    height: 49px;
    background-color: #242424;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 23px;
    margin-top: -70px;
    margin-bottom: 25px;
}

.verify-email-card h1 {
    color: #000000;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    margin-top: -10px;
    line-height: 1.2;
}

.verify-message {
    color: #00000080;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.verify-email-highlight {
    color: #00000080;
    line-height: 1.5;
}

.verify-submessage {
    color: #00000080;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 35px;
}

.verify-didnt-receive {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-resend-verification {
    background-color: #242424;
    border: 1px solid #242424;
    color: #ffffff;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 250px;
    height: 50px;
    margin-top: 10px;
}

.btn-resend-verification:hover {
    background-color: #000000;
}

/* Email Verified Styles */
.verified-icon-container {
    width: 49px;
    height: 49px;
    position: relative;
    background-color: #242424;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    margin-top: -70px;
    margin-bottom: 40px;
}

.verified-icon-container i {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.verified-title {
    color: #242424;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    margin-top: 10px;
    line-height: 1.2;
    letter-spacing: 1.5px;
}

.verified-message {
    color: #7b7d85;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.verified-back-link {
    color: #242424;
    text-decoration: underline;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    height: 24px;
    align-items: center;
    line-height: 1.2;
    font-style: normal;
    gap: 8px;
}

.verified-back-link:hover {
    color: #000000;
}

.status-separator {
    width: 275px;
    height: 1px;
    left: 583.5px;
    top: 614px;
    background-color: #242424;
    border: none;
    margin: 0 auto 1.5rem auto;
}

.resend-success-msg {
    color: #1a7f37;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.resend-success-msg i {
    font-size: 16px;
}
