.floating-widget-toggle {
    position: fixed;
    bottom: 40px; /* moved from center to lower right */
    right: 30px;
    background-color: #007bff;
    color: white;
    font-size: 26px;
    padding: 14px 18px;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
}
.floating-widget-toggle:hover {
    transform: scale(1.1);
}


.floating-widget-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0); /* Fully transparent */

    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 9998;
    padding: 20px;
    overflow-y: auto;
}

.floating-widget-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.6); /* Better visibility on clear bg */
}

.close-btn {
    cursor: pointer;
    font-size: 22px;
}

.widget-menu {
    list-style: none;
    padding: 0;
}

.widget-menu li {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background-color: rgba(248, 249, 250, 0.6); /* semi-transparent cards */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 16px;
}

.widget-menu li:hover {
    background-color: rgba(226, 230, 234, 0.8);
}

@keyframes riseUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.widget-menu li {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background-color: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #000;
    cursor: pointer;
    font-size: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: riseUp 0.4s forwards;
}

.floating-widget-sidebar.open .widget-menu li {
    animation-name: riseUp;
}

.floating-widget-sidebar.open .widget-menu li:nth-child(1) {
    animation-delay: 0.05s;
}
.floating-widget-sidebar.open .widget-menu li:nth-child(2) {
    animation-delay: 0.10s;
}
.floating-widget-sidebar.open .widget-menu li:nth-child(3) {
    animation-delay: 0.15s;
}
.floating-widget-sidebar.open .widget-menu li:nth-child(4) {
    animation-delay: 0.20s;
}
.floating-widget-sidebar.open .widget-menu li:nth-child(5) {
    animation-delay: 0.25s;
}
.floating-widget-sidebar.open .widget-menu li:nth-child(6) {
    animation-delay: 0.30s;
}
/* Add more nth-child if needed */
.floating-widget-sidebar {
    opacity: 0;
    pointer-events: none;
}

.floating-widget-sidebar.open {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s ease-in-out;
}


.rental-widget-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;  /* Optional: space between the steps */
}

.widget-step {
  flex: 1;  /* Makes each step take equal space */
  min-width: 300px;  /* Set a minimum width to avoid steps shrinking too much */
}

.widget-step button {
  width: 100%;
}
