/* Floating Container */
#room-visualize-container{
    position: fixed;
    right: 15px;
    bottom: 95px;
    z-index: 9999;

    animation: slideFade 0.5s ease;
}

/* Modern Square Button */
#room-visualize-btn{
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    border: none;
    border-radius: 14px;

    background: rgba(17, 25, 40, 0.95);
    backdrop-filter: blur(10px);

    color: white;

    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.05);

    transition: all 0.3s ease;

    position: relative;
}

/* Icon Box */
.room-icon{
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(135deg, #2563eb, #3b82f6);

    font-size: 14px;
}

/* Vertical Text */
.room-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.1;
}

.room-top{
    font-size: 12px;
    opacity: 0.7;
    font-weight: 500;
}

.room-bottom{
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Hover Effect */
#room-visualize-btn:hover{
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.05);
}

/* Small Close Button */
#room-close-btn{
    position: absolute;
    top: -6px;
    right: -6px;

    width: 20px;
    height: 20px;

    border: none;
    border-radius: 50%;

    background: #ef4444;
    color: white;

    font-size: 10px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);

    transition: all 0.2s ease;
}

#room-close-btn:hover{
    transform: scale(1.15);
    background: #dc2626;
}

/* Entrance Animation */
@keyframes slideFade{
    from{
        opacity: 0;
        transform: translateY(25px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Animation */
.hide-room-btn{
    animation: hideSmooth 0.4s ease forwards;
}

@keyframes hideSmooth{
    from{
        opacity: 1;
        transform: scale(1);
    }
    to{
        opacity: 0;
        transform: scale(0.85);
    }
}