.modal-Cc, .modal-ra {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-ra { z-index: 10000; }

.modal-content-cc {
    background: #fff;
    margin: 5% auto;
    padding: 20px 30px;
    border-radius: 10px;
    width: 35vw; 
    height: auto;
    color: black;
    box-sizing: border-box;
    /*position: relative; */
}

.close {
    position: absolute;
    top: 15px;
    right: 15px; 
    font-size: 20px;
    cursor: pointer;
    background: linear-gradient(135deg, #dc3545 0%, #8b0000 100%);
    padding: 10px 14px;
    color: white;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.close:hover { background: linear-gradient(135deg, #c82333 0%, #6a0f0f 100%); }

.labelRegistrer { font-size: 1.2rem; font-weight: bold; color: #333; }
#CrearCuenta-text { margin: 1rem 0; text-align: center; font-size: 2rem; color: #8B0000; }

form { width: 100%; }

.input-register {
    background-color: #f5f5f5;
    padding-left: 0.7rem;
    margin: 0.5rem 0 1rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    height: 45px;
    font-size: 1rem;
    box-sizing: border-box;
}

.campo-password { position: relative; }

/* === ESTILOS PARA LA PASARELA DE PASOS === */
.indicador-pasos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.paso-dot-cc {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.paso-dot-cc.active {
    background-color: #8B0000; /* Color vino activo */
    color: white;
}

.pasarela-step-cc { display: none; }
.pasarela-step-cc.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.divButton-pasarela {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.btn-pasarela {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    flex: 1;
}

.btn-siguiente { background: linear-gradient(135deg, #4C8F43 0%, #3a6b34 100%); }
.btn-siguiente:hover { background: linear-gradient(135deg, #3a6b34 0%, #2d5528 100%); }
.btn-anterior { background: #6c757d; }
.btn-anterior:hover { background: #5a6268; }

#buttonCrearCuenta {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #8B0000 0%, #5c0000 100%);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
#buttonCrearCuenta:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

/* === RESPONSIVIDAD PARA CELULARES === */
@media screen and (max-width: 768px) {
    .modal-content-cc {
        width: 90vw;
        margin: 10% auto;
        padding: 15px 20px;
        max-height: 85vh;
        overflow-y: auto;
    }
    #CrearCuenta-text { font-size: 1.6rem; }
    .labelRegistrer { font-size: 1rem; }
    .input-register { height: 40px; font-size: 0.95rem; }
    .btn-pasarela, #buttonCrearCuenta { padding: 10px; font-size: 1rem; }
}

/* Estilos para los Labels de ambas cuentas */
.labelRegistrer, 
.cont-form-cc label { 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #333; 
    display: block;
    margin-top: 5px;
}

/* Estilos compartidos para los inputs de usuario y admin */
.input-register, 
.input-admin,
#RolAdmin {
    background-color: #f5f5f5;
    padding-left: 0.7rem;
    margin: 0.5rem 0 1.2rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    height: 45px;
    font-size: 1rem;
    box-sizing: border-box;
}