.modal-login-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-login-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-login-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-login-overlay.open .modal-login-box {
    transform: translateY(0);
}

.modal-login-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.modal-login-close:hover { color: #000; }

.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #eee;
}

.modal-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    font-size: 15px;
}

.modal-tab.active {
    color: #111;
    border-bottom-color: #111;
}

.modal-panel { display: none; }
.modal-panel.active { display: block; }

.modal-login-box .form-row {
    margin-bottom: 16px;
}

.modal-login-box label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.modal-login-box input[type="text"],
.modal-login-box input[type="email"],
.modal-login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.modal-login-box .button.alt {
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.modal-login-box .button.alt:hover { background: #333; }

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.lost-password {
    float: right;
    font-size: 13px;
    color: #666;
}

/* Botón flotante */
.wc-toolkit-login-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #111;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: wct-bounce-in 0.8s ease-out, wct-heartbeat 3s ease-in-out 1s infinite;
    transform-origin: center;
}

.wc-toolkit-login-float:hover {
    animation: wct-shake-hover 0.4s ease-in-out;
}

.wc-toolkit-login-float-icon {
    font-size: 18px;
}

@keyframes wct-bounce-in {
    0% { transform: translateY(100px); opacity: 0; }
    60% { transform: translateY(-10px); opacity: 1; }
    80% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

@keyframes wct-heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.08); }
    28% { transform: scale(1); }
    42% { transform: scale(1.05); }
    70% { transform: scale(1); }
}

@keyframes wct-shake-hover {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px) rotate(-1deg); }
    75% { transform: translateX(3px) rotate(1deg); }
}
