:root {
    --primary-blue: #4f79db;
    /* Color del panel izquierdo */
    --button-blue: #698ced;
    /* Color del botón Siguiente */
    --dark-blue: #0b2559;
    /* Color del título Regístrate */
    --input-border: #ced4da;
}

/* Estilos del Modal */
.modal-content-custom {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    /* Mantiene los bordes redondeados con los paneles */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Panel Izquierdo */
.left-panel {
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-container {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.logo-icon {*/
/*    width: 35px;*/
/*    height: 35px;*/
/*    margin-right: 12px;*/
/*}*/

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

.logo-subtext {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
    text-align: right;
    opacity: 0.9;
}

.left-panel p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    line-height: 1.4;
}

.btn-outline-white {
    color: white;
    border: 1px solid white;
    background: transparent;
    border-radius: 4px;
    padding: 0.6rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* Panel Derecho */
.right-panel {
    background-color: white;
}

.title-registrate {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-control-custom,
.form-select-custom {
    border-color: var(--input-border);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #495057;
}

.form-control-custom::placeholder {
    color: #6c757d;
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--button-blue);
    box-shadow: 0 0 0 0.25rem rgba(105, 140, 237, 0.25);
}

.cedula-group {
    display: flex;
}

.cedula-select {
    width: 70px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid var(--input-border);
    color: #6c757d;
}

.cedula-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.btn-siguiente {
    background-color: var(--button-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-siguiente:hover {
    background-color: #5578d6;
    color: white;
}

.terms-text {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    margin-top: 1.5rem;
}

.terms-text a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Ajuste del botón de cierre */
.btn-close-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background-color: white !important;
    color: #4f79db !important;
}

.modal-registro #btn-ini {
    font-size: 18px;
    float: none;
    white-space: normal;
    height: auto;
    padding: 10px;
    text-align: center;
    min-width: 220px;
    border-radius: 5px !important;
    text-decoration: none;
    margin-top: 20px;
    font-weight: normal;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.modal-registro #btn-ini:hover {
    background: #fff;
    color: #6995eb;
    border-color: #fff;
    text-decoration: none;
    box-shadow: unset;
}

.modal-registro #btn-ini:focus {
    outline: 2px solid #6995eb;
    outline-offset: 2px;
    background: #fff;
    color: #6995eb;
    border-color: #6995eb;
}

.modal-registro #btn-ini:active {
    background: #4a7ad9;
    color: #fff;
    border-color: #4a7ad9;
    transition: none;
}

#registro-section .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    text-transform: none;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: pointer;
    padding: .375rem .75rem;
    border-radius: .25rem;
    font-weight: 400;
    color: var(--sw-toolbar-btn-color);
    background-color: #6995eb;
    border: 1px solid #6995eb;
    padding: 12px;
}

.modal-registro .btn-close-custom {
  line-height: 0;
  font-size: 20px;
  color: #1d3557 !important;
}

.modal-registro .btn-close-custom:hover {
    box-shadow: unset!important
}